fix(接口测试): 修复接口场景列表选择版本过滤后不生效的问题
--bug=1012838 --user=刘瑞斌 【接口测试】接口自动化-场景列表-切换版本无效 https://www.tapd.cn/55049933/s/1149956
This commit is contained in:
parent
dad453b1fb
commit
28e03af5a4
|
@ -663,13 +663,11 @@ export default {
|
|||
changeVersion(currentVersion) {
|
||||
if (this.$refs.apiScenarioList) {
|
||||
this.$refs.apiScenarioList.condition.versionId = currentVersion || null;
|
||||
this.$refs.apiScenarioList.getVersionOptions(currentVersion);
|
||||
}
|
||||
if (this.$refs.apiTrashScenarioList) {
|
||||
this.$refs.apiTrashScenarioList.condition.versionId = currentVersion || null;
|
||||
this.$refs.apiTrashScenarioList.getVersionOptions(currentVersion);
|
||||
}
|
||||
this.refresh();
|
||||
this.refreshAll();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue