westonliuqing 5 years ago
parent
commit
2cd3d391f3
1 changed files with 5 additions and 3 deletions
  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.init()
     },
-    drawerShow(newV) {
-      this.init()
-      this.uploadButton = newV
+    drawerShow(newV, oldVal) {
+      if (newV) {
+        this.init()
+        this.uploadButton = newV
+      }
     }
   },
   created() {