mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-09 07:29:03 +08:00
fix(测试跟踪): 测试计划关联场景用例跨页勾选无法选择环境
--bug=1028098 --user=陈建星 【测试跟踪】测试计划-接口测试用例-场景用例-关联测试用例-运行环境显示错误 https://www.tapd.cn/55049933/s/1396759
This commit is contained in:
parent
e9709cb960
commit
11a385f88c
@ -278,13 +278,15 @@ export default {
|
||||
},
|
||||
search(data) {
|
||||
this.pageRefresh = data === "page";
|
||||
this.projectEnvMap.clear();
|
||||
this.projectIds.clear();
|
||||
if (!this.pageRefresh) {
|
||||
this.projectEnvMap.clear();
|
||||
this.projectIds.clear();
|
||||
this.selectRows = new Set();
|
||||
}
|
||||
if (!this.projectId) {
|
||||
return;
|
||||
}
|
||||
this.getProject(this.projectId);
|
||||
this.selectRows = new Set();
|
||||
this.loading = true;
|
||||
if (this.condition.filters) {
|
||||
this.condition.filters.status = ["Prepare", "Underway", "Completed"];
|
||||
@ -316,7 +318,9 @@ export default {
|
||||
item.tags = JSON.parse(item.tags);
|
||||
}
|
||||
});
|
||||
this.clear();
|
||||
if (!this.pageRefresh) {
|
||||
this.clear();
|
||||
}
|
||||
});
|
||||
},
|
||||
clear() {
|
||||
|
Loading…
Reference in New Issue
Block a user