star7th преди 5 години
родител
ревизия
239cb3e405
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      web_src/src/components/item/show/show_regular_item/OpBar.vue

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

@@ -470,6 +470,9 @@ export default {
         this.share_single_link = ''
       }
     }
+  },
+  destroyed() {
+    document.onkeydown = undefined 
   }
 }
 </script>