fix(测试跟踪): 测试计划关联功能用例页面,数据成显示上一次切换项目后的数据

--bug=1025486 --user=陈建星 【测试跟踪】测试计划-关联功能用例-列表数据仍显示上传一次切换项目的数据 https://www.tapd.cn/55049933/s/1363688
This commit is contained in:
chenjianxing 2023-04-18 11:42:08 +08:00 committed by jianxing
parent 8712e319be
commit cb8076dd23
1 changed files with 1 additions and 3 deletions

View File

@ -215,9 +215,6 @@ export default {
}, },
}, },
watch: { watch: {
selectNodeIds() {
this.getTestCases();
},
projectId(val) { projectId(val) {
this.setConditionModuleIdParam(); this.setConditionModuleIdParam();
this.page.condition.projectId = this.projectId; this.page.condition.projectId = this.projectId;
@ -298,6 +295,7 @@ export default {
this.$refs.table.condition.selectAll = false; this.$refs.table.condition.selectAll = false;
this.selectNodeIds = nodeIds; this.selectNodeIds = nodeIds;
this.selectNodeNames = nodeNames; this.selectNodeNames = nodeNames;
this.getTestCases();
}, },
close() { close() {
this.selectNodeIds = []; this.selectNodeIds = [];