westonliuqing há 5 anos atrás
pai
commit
2cd3d391f3
1 ficheiros alterados com 5 adições e 3 exclusões
  1. 5 3
      src/views/projectManage/bugList/details/index.vue

+ 5 - 3
src/views/projectManage/bugList/details/index.vue

@@ -779,9 +779,11 @@ export default {
       this.loading.drawer = false
       this.loading.drawer = false
       this.init()
       this.init()
     },
     },
-    drawerShow(newV) {
-      this.init()
-      this.uploadButton = newV
+    drawerShow(newV, oldVal) {
+      if (newV) {
+        this.init()
+        this.uploadButton = newV
+      }
     }
     }
   },
   },
   created() {
   created() {