westonliuqing 5 lat temu
rodzic
commit
2cd3d391f3

+ 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() {