fix(接口测试): 修复切换版本,api的模块树与列表数据不一致的缺陷

--bug=1027611 --user=王孝刚 【接口测试】切换版本-切换case/api-左侧模块树数量不对应
https://www.tapd.cn/55049933/s/1390271
This commit is contained in:
wxg0103 2023-07-07 11:18:07 +08:00 committed by 刘瑞斌
parent df2f4bb8a6
commit 0839ccb99e

View File

@ -252,6 +252,9 @@ export default {
});
} else {
if (this.condition.protocol) {
if (this.currentVersion && !this.param.versionId) {
this.param.versionId = this.currentVersion;
}
this.result = postApiModules(projectId, this.condition.protocol, this.currentVersion, this.param).then((response) => {
this.setData(response);
});