westonliuqing 5 年之前
父节点
当前提交
2cd3d391f3
共有 1 个文件被更改,包括 5 次插入3 次删除
  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() {