fix(测试跟踪): 处理关联用例模块树接口多次调用,响应时间不同,导致数据显示异常问题
--bug=1026168 --user=王旭 【测试跟踪】功能用例-关联场景/UI用例-列表数据显示不符 https://www.tapd.cn/55049933/s/1393238
This commit is contained in:
parent
842de54408
commit
d326153ea1
|
@ -2,6 +2,7 @@
|
||||||
<test-case-relevance-base
|
<test-case-relevance-base
|
||||||
@setProject="setProject"
|
@setProject="setProject"
|
||||||
@save="saveCaseRelevance"
|
@save="saveCaseRelevance"
|
||||||
|
@close="close"
|
||||||
:plan-id="planId"
|
:plan-id="planId"
|
||||||
:is-saving="isSaving"
|
:is-saving="isSaving"
|
||||||
ref="baseRelevance"
|
ref="baseRelevance"
|
||||||
|
@ -132,6 +133,9 @@ export default {
|
||||||
this.getVersionOptions();
|
this.getVersionOptions();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
close() {
|
||||||
|
this.projectId = "";
|
||||||
|
},
|
||||||
open() {
|
open() {
|
||||||
this.init();
|
this.init();
|
||||||
this.$refs.baseRelevance.open();
|
this.$refs.baseRelevance.open();
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<test-case-relevance-base
|
<test-case-relevance-base
|
||||||
@setProject="setProject"
|
@setProject="setProject"
|
||||||
@save="saveCaseRelevance"
|
@save="saveCaseRelevance"
|
||||||
|
@close="close"
|
||||||
:plan-id="planId"
|
:plan-id="planId"
|
||||||
ref="baseRelevance"
|
ref="baseRelevance"
|
||||||
:is-saving="isSaving"
|
:is-saving="isSaving"
|
||||||
|
@ -75,6 +76,9 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
close() {
|
||||||
|
this.projectId = "";
|
||||||
|
},
|
||||||
open() {
|
open() {
|
||||||
if (this.$refs.apiScenarioList) {
|
if (this.$refs.apiScenarioList) {
|
||||||
this.$refs.apiScenarioList.search();
|
this.$refs.apiScenarioList.search();
|
||||||
|
|
|
@ -109,9 +109,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.initProtocol();
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
isPlanModel() {
|
isPlanModel() {
|
||||||
return !!this.planId;
|
return !!this.planId;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<test-case-relevance-base
|
<test-case-relevance-base
|
||||||
@setProject="setProject"
|
@setProject="setProject"
|
||||||
@save="saveCaseRelevance"
|
@save="saveCaseRelevance"
|
||||||
|
@close="close"
|
||||||
:plan-id="planId"
|
:plan-id="planId"
|
||||||
:is-saving="isSaving"
|
:is-saving="isSaving"
|
||||||
ref="baseRelevance"
|
ref="baseRelevance"
|
||||||
|
@ -76,6 +77,9 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
close() {
|
||||||
|
this.projectId = "";
|
||||||
|
},
|
||||||
open() {
|
open() {
|
||||||
if (this.$refs.apiScenarioList) {
|
if (this.$refs.apiScenarioList) {
|
||||||
this.$refs.apiScenarioList.search();
|
this.$refs.apiScenarioList.search();
|
||||||
|
|
Loading…
Reference in New Issue