-
Notifications
You must be signed in to change notification settings - Fork 61
Description
-
维护Cluster时,维护了HttpClient,但是报错 ClusterId未赋值,后端验证报错
-
Cluster列表,无法点击编辑,selectInfo.healthCheck.passive.enabled 没有值导致,弹出也报错
-
编辑Cluster,保存 后端报错,疑似数据状态 不同步
`handleEdit(row) {
row["IsEdit"] = true;
if (.isEmpty(row.healthCheck)) {
row.healthCheck = {}
}
if (!.isEmpty(row.httpRequest)) {
row.httpRequest.enabled = true;
}
if (!.isEmpty(row.httpClient)) {
row.httpClient.enabled = true;
}
if (.isEmpty(row.healthCheck.active)) {
row.healthCheck.active = {}
}
if (.isEmpty(row.healthCheck.passive)) {
row.healthCheck.passive = {}
}
if (!_.isBoolean(row.healthCheck.active.enabled) && .isEmpty(row.healthCheck.active.enabled)) {
row.healthCheck.active.enabled = false;
}
if (!.isBoolean(row.healthCheck.passive.enabled) && _.isEmpty(row.healthCheck.passive.enabled)) {
row.healthCheck.passive.enabled = false;
}this.currentCluster = _.cloneDeep(row);
this.showClusterModal = true;
},`

