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 d9d5e01dfe
commit 668f292231

View File

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