NEZ-1239 fix: Alert rule Evaluation interval 回显有误

This commit is contained in:
zhangyu
2021-11-17 11:35:18 +08:00
parent f9ca30d92f
commit d12051dd08
2 changed files with 8 additions and 2 deletions

View File

@@ -308,6 +308,9 @@ export default {
schedDays: response.data.schedDays ? response.data.schedDays.split(',').map(item => Number(item)) : [],
receiverShow: response.data.receiver ? response.data.receiver.split(',').map(item => Number(item)) : []
}
if (this.object.inr == 0) {
this.object.inr = undefined
}
if (copyFlag) {
this.object.id = ''
this.object.name = this.object.name + '-copy'