提交 1db9dadb 编写于 作者: F fit2-zhao 提交者: fit2-zhao

fix(接口定义): 环境选择问题修复

上级 9274f5df
......@@ -50,11 +50,8 @@
this.environmentChange(this.environmentId);
},
useEnvironment(){
this.environmentId = this.useEnvironment;
this.getEnvironments();
}
// planEnvironmentId() {
// this.environmentId = this.planEnvironmentId;
// }
},
methods: {
getEnvironments() {
......@@ -63,7 +60,7 @@
this.environments = response.data;
this.environments.forEach(environment => {
parseEnvironment(environment);
if (this.useEnvironment && this.useEnvironment.id === environment.id) {
if (this.useEnvironment && this.useEnvironment === environment.id) {
this.environmentId = this.useEnvironment;
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册