fix: 補充main。js

This commit is contained in:
zhangyu
2022-04-20 16:57:14 +08:00
parent 95e069e6ab
commit bc9359b691
16 changed files with 320 additions and 199 deletions

View File

@@ -643,7 +643,6 @@ export default {
handler (n, o) {
this.isEdit = true
this.editAlertRule = JSON.parse(JSON.stringify(n))
console.log(this.editAlertRule)
if (this.editAlertRule.id || this.editAlertRule.name) {
this.expressions = [this.editAlertRule.expr]
this.showTypeSelect = true // 当 edit 时禁用 type下拉框