diff --git a/frontend/src/business/components/track/case/TestCase.vue b/frontend/src/business/components/track/case/TestCase.vue index a49fcfa45e..8cc00016bb 100644 --- a/frontend/src/business/components/track/case/TestCase.vue +++ b/frontend/src/business/components/track/case/TestCase.vue @@ -17,6 +17,7 @@ @enableTrash="enableTrash" @enablePublic="enablePublic" @toPublic="toPublic" + @importRefresh="importRefresh" @importChangeConfirm="importChangeConfirm" @createCase="handleCaseSimpleCreate($event, 'add')" ref="nodeTree" @@ -747,6 +748,14 @@ export default { this.$refs.nodeTree.list(); this.setTable(data); }, + importRefresh() { + this.refreshAll(); + if (this.$refs.testCaseEdit) { + setTimeout(() => { + this.$info(this.$t('test_track.case.import.import_refresh_tips')); + }, 3000) + } + }, minderSaveRefresh() { if (this.$refs.testCaseList) { this.$refs.testCaseList.initTableData(); diff --git a/frontend/src/business/components/track/module/TestCaseNodeTree.vue b/frontend/src/business/components/track/module/TestCaseNodeTree.vue index 94ce4d07d8..8d64c4f657 100644 --- a/frontend/src/business/components/track/module/TestCaseNodeTree.vue +++ b/frontend/src/business/components/track/module/TestCaseNodeTree.vue @@ -35,7 +35,7 @@