fix(测试跟踪): 测试计划关联功能用例,多次打开后模块显示为空
--bug=1025719 --user=陈建星 【测试跟踪】测试计划-关联功能用例-左侧目录栏显示暂无数据 https://www.tapd.cn/55049933/s/1365757
This commit is contained in:
parent
cfd619eac2
commit
bf1134d207
|
@ -60,6 +60,7 @@
|
|||
},
|
||||
close() {
|
||||
this.dialogVisible = false;
|
||||
this.$emit("close");
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
:width="width"
|
||||
:title="dialogTitle"
|
||||
ref="relevanceDialog"
|
||||
@close="handleCloseEven"
|
||||
:full-screen="isFullScreen"
|
||||
>
|
||||
<!-- todo -->
|
||||
|
@ -155,7 +156,9 @@ export default {
|
|||
close() {
|
||||
this.$refs.relevanceDialog.close();
|
||||
},
|
||||
|
||||
handleCloseEven() {
|
||||
this.$emit("close");
|
||||
},
|
||||
open() {
|
||||
this.workspaceId = getCurrentWorkspaceId();
|
||||
this.getProject();
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
@setProject="setProject"
|
||||
@save="saveCaseRelevance"
|
||||
:enable-full-screen="false"
|
||||
@close="close"
|
||||
:flag="isTestPlan"
|
||||
:multiple-project="multipleProject"
|
||||
:is-saving="isSaving"
|
||||
|
@ -238,6 +239,10 @@ export default {
|
|||
this.$refs.table.clear();
|
||||
this.$refs.table.clearSort();
|
||||
}
|
||||
if (this.projectId) {
|
||||
this.getProjectNode(this.projectId);
|
||||
this.getTestCases();
|
||||
}
|
||||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
|
|
Loading…
Reference in New Issue