Ver código fonte

Merge branch 'http_test' of git.xiaojukeji.com:jacklijiajia/thoth-frontend into http_test

qinzhipeng_v 5 anos atrás
pai
commit
4a1d1b53b1

+ 1 - 1
src/views/projectManage/bugList/details/bugTableDialog.vue

@@ -41,7 +41,7 @@
       />
     </div>
 
-    <el-drawer :visible.sync="drawerShow" :modal="false" :with-header="false" size="50%" class="bug_manage_drawer" @click.stop>
+    <el-drawer v-if="drawerShow" :visible.sync="drawerShow" :modal="false" :with-header="false" size="50%" class="bug_manage_drawer" @click.stop>
       <div @click.stop>
         <bug-details
           :id="bugQuery.id+''"

+ 6 - 4
src/views/projectManage/bugList/details/statusChange.vue

@@ -99,10 +99,12 @@ export default {
     },
     statusObj: {
       handler(newV) {
-        this.bugEnumList = newV.bugEnumList || []// status
-        this.repairResultEnumList = newV.repairResultEnumList || []// 修复结果
-        this.bugReasonEnumList = newV.bugReasonEnumList || []// 缺陷原因
-        this.bugStatusList(this.status)
+        if (newV) {
+          this.bugEnumList = newV.bugEnumList || []// status
+          this.repairResultEnumList = newV.repairResultEnumList || []// 修复结果
+          this.bugReasonEnumList = newV.bugReasonEnumList || []// 缺陷原因
+          this.bugStatusList(this.status)
+        }
       },
       deep: true,
       immediate: true