Browse Source

Unbind the delete shortcut to prevent accidental deletion/解绑删除快捷键以防止误删除

star7th 4 years ago
parent
commit
18b25f58e6
1 changed files with 0 additions and 6 deletions
  1. 0 6
      web_src/src/components/item/show/show_regular_item/OpBar.vue

+ 0 - 6
web_src/src/components/item/show/show_regular_item/OpBar.vue

@@ -451,12 +451,6 @@ export default {
         that.edit_page()
         that.edit_page()
         e.preventDefault()
         e.preventDefault()
       }
       }
-
-      if (keyNum == 46 && e.ctrlKey) {
-        // Ctrl +del 为删除
-        that.delete_page()
-        e.preventDefault()
-      }
     }
     }
 
 
     if (
     if (