2. Press the shortcut key shift+F6 to open the feathering dialog box. Let's set the radius to 1 and click OK.
(as shown in the figure below)
3. Press the Delete key to delete directly.