liyangzheng 2 years ago
parent
commit
d6497b7943
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/myfile/MyFile.vue

+ 1 - 0
src/views/myfile/MyFile.vue

@@ -1107,6 +1107,7 @@ export default {
             getAllTop()
             // 添加监听,点击其他地方关闭文件夹右键菜单
             window.addEventListener("click", closeRMenu, true);
+            window.addEventListener("click", mouseClick);
         })
         return {
             folderList,//文件夹的数据