mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 13:38:58 +08:00
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
|
||||
@setProject="setProject"
|
||||
@save="saveCaseRelevance"
|
||||
@close="close"
|
||||
:plan-id="planId"
|
||||
:is-saving="isSaving"
|
||||
ref="baseRelevance"
|
||||
@ -132,6 +133,9 @@ export default {
|
||||
this.getVersionOptions();
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.projectId = "";
|
||||
},
|
||||
open() {
|
||||
this.init();
|
||||
this.$refs.baseRelevance.open();
|
||||
|
@ -2,6 +2,7 @@
|
||||
<test-case-relevance-base
|
||||
@setProject="setProject"
|
||||
@save="saveCaseRelevance"
|
||||
@close="close"
|
||||
:plan-id="planId"
|
||||
ref="baseRelevance"
|
||||
:is-saving="isSaving"
|
||||
@ -75,6 +76,9 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.projectId = "";
|
||||
},
|
||||
open() {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.search();
|
||||
|
@ -109,9 +109,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.initProtocol();
|
||||
},
|
||||
computed: {
|
||||
isPlanModel() {
|
||||
return !!this.planId;
|
||||
|
@ -2,6 +2,7 @@
|
||||
<test-case-relevance-base
|
||||
@setProject="setProject"
|
||||
@save="saveCaseRelevance"
|
||||
@close="close"
|
||||
:plan-id="planId"
|
||||
:is-saving="isSaving"
|
||||
ref="baseRelevance"
|
||||
@ -76,6 +77,9 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.projectId = "";
|
||||
},
|
||||
open() {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.search();
|
||||
|
Loading…
Reference in New Issue
Block a user