瀏覽代碼

Update OpBar.vue

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>