Selaa lähdekoodia

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

star7th 4 vuotta sitten
vanhempi
commit
18b25f58e6
1 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  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()
         e.preventDefault()
       }
-
-      if (keyNum == 46 && e.ctrlKey) {
-        // Ctrl +del 为删除
-        that.delete_page()
-        e.preventDefault()
-      }
     }
 
     if (