Browse Source

任务详情页,新建bug后,bug列表没有刷新

PrinceLee 5 năm trước cách đây
mục cha
commit
064fca407d

+ 1 - 0
src/views/projectManage/bugList/file/createdBug.vue

@@ -320,6 +320,7 @@ export default {
             if (this.getBugList) {
               this.getBugList()
             }
+            this.$emit('reloadList')
           })
         }
       })

+ 1 - 1
src/views/projectManage/taskList/taskViewDetails.vue

@@ -365,7 +365,7 @@
       </el-dialog>
       <!-- 弹窗 -->
       <openDialog v-if="dialog_open" ref="task_createdUpdata" />
-      <createdBug v-if="modalShow" ref="createdBug" />
+      <createdBug v-if="modalShow" ref="createdBug" @reloadList="bug_list(codeCache)" />
       <TestReport v-if="dialogVisible1" ref="TestReport" />
       <DailyReport v-if="dialogDaily" ref="DailyReport" />
       <ClientReport v-if="dialogClient" ref="ClientReport" />