diff --git a/api-test/frontend/src/business/definition/components/request/database/BasisParameters.vue b/api-test/frontend/src/business/definition/components/request/database/BasisParameters.vue index 57f366b6f0..82f8c8eb02 100644 --- a/api-test/frontend/src/business/definition/components/request/database/BasisParameters.vue +++ b/api-test/frontend/src/business/definition/components/request/database/BasisParameters.vue @@ -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 = [];