fix: 保存环境设置

This commit is contained in:
chenjianxing 2020-07-16 18:04:11 +08:00
parent dc25e0fe63
commit c16f60e87d
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class ApiTestEnvironmentService {
}
public void update(ApiTestEnvironmentWithBLOBs apiTestEnvironment) {
apiTestEnvironmentMapper.updateByPrimaryKeySelective(apiTestEnvironment);
apiTestEnvironmentMapper.updateByPrimaryKey(apiTestEnvironment);
}
public String add(ApiTestEnvironmentWithBLOBs apiTestEnvironmentWithBLOBs) {

View File

@ -255,7 +255,7 @@
return this.test.isValid() && !this.change;
},
isDisabled() {
return !(this.test.isValid())
return !(this.test.isValid()) && !this.change;
}
},