mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(测试跟踪): 测试计划关联场景,第二次打开后没有数据
--bug=1026261 --user=陈建星 【测试跟踪】测试计划-第二次关联接口场景&UI测试用例-不显示数据 https://www.tapd.cn/55049933/s/1372463
This commit is contained in:
parent
3b5539ce2a
commit
f44b4dca25
@ -77,10 +77,12 @@ export default {
|
||||
methods: {
|
||||
open() {
|
||||
this.$refs.baseRelevance.open();
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
});
|
||||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
|
@ -78,10 +78,12 @@ export default {
|
||||
methods: {
|
||||
open() {
|
||||
this.$refs.baseRelevance.open();
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.clear();
|
||||
this.$refs.apiScenarioList.search();
|
||||
}
|
||||
});
|
||||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
|
Loading…
Reference in New Issue
Block a user