fix(接口测试): 修复接口场景列表选择版本过滤后不生效的问题

--bug=1012838 --user=刘瑞斌 【接口测试】接口自动化-场景列表-切换版本无效 https://www.tapd.cn/55049933/s/1149956
This commit is contained in:
CaptainB 2022-04-27 16:09:35 +08:00 committed by 刘瑞斌
parent dad453b1fb
commit 28e03af5a4
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}
}
};