fix(接口定义): 修复场景跨项目引用sql,配置环境跳转错误的缺陷

--bug=1018934 --user=王孝刚
【接口测试】接口自动化-场景A中跨项目复制的场景B,在场景B的运行环境下拉列表中,修改场景B环境配置跳转页面错误
https://www.tapd.cn/55049933/s/1278625
This commit is contained in:
wxg0103 2022-10-26 17:09:43 +08:00 committed by wxg0103
parent df4db6b736
commit e0a33079d5
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ export default {
}); });
}, },
openEnvironmentConfig() { openEnvironmentConfig() {
this.$refs.environmentConfig.open(getCurrentProjectID()); this.$refs.environmentConfig.open(this.request.projectId ? this.request.projectId : getCurrentProjectID());
}, },
initDataSource(envId, currentEnvironment, targetDataSourceName) { initDataSource(envId, currentEnvironment, targetDataSourceName) {
this.databaseConfigsOptions = []; this.databaseConfigsOptions = [];