fix(测试跟踪): 测试计划关联用例切换项目关闭导致再次打开数据不正确问题
--bug=1026168 --user=王旭 【测试跟踪】功能用例-关联场景/UI用例-列表数据显示不符 https://www.tapd.cn/55049933/s/1392044
This commit is contained in:
parent
9c47ecac69
commit
0a916886be
|
@ -94,7 +94,6 @@ export default {
|
|||
},
|
||||
created() {
|
||||
this.condition.versionId = this.currentVersion;
|
||||
this.initTable();
|
||||
},
|
||||
watch: {
|
||||
selectNodeIds() {
|
||||
|
|
|
@ -76,13 +76,13 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
open() {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
this.$refs.baseRelevance.open();
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
});
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
}
|
||||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
|
|
|
@ -77,13 +77,13 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
open() {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
this.$refs.baseRelevance.open();
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
});
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
}
|
||||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
|
|
Loading…
Reference in New Issue