fix: 保存环境设置
This commit is contained in:
parent
dc25e0fe63
commit
c16f60e87d
|
@ -34,7 +34,7 @@ public class ApiTestEnvironmentService {
|
|||
}
|
||||
|
||||
public void update(ApiTestEnvironmentWithBLOBs apiTestEnvironment) {
|
||||
apiTestEnvironmentMapper.updateByPrimaryKeySelective(apiTestEnvironment);
|
||||
apiTestEnvironmentMapper.updateByPrimaryKey(apiTestEnvironment);
|
||||
}
|
||||
|
||||
public String add(ApiTestEnvironmentWithBLOBs apiTestEnvironmentWithBLOBs) {
|
||||
|
|
|
@ -255,7 +255,7 @@
|
|||
return this.test.isValid() && !this.change;
|
||||
},
|
||||
isDisabled() {
|
||||
return !(this.test.isValid())
|
||||
return !(this.test.isValid()) && !this.change;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue