fix:添加alertMessagrInfo(30%)

This commit is contained in:
zhangyu
2022-03-30 15:55:38 +08:00
parent 42ae7d5dfe
commit 5b6e01c79b
3 changed files with 36 additions and 4 deletions

View File

@@ -625,6 +625,7 @@ export default {
}]
}
}
chartInfo.id = this.currentMsg.id
chartInfo.name = this.currentMsg.alertRule.name
chartInfo.isAlertMessage = true
chartInfo.elements && (chartInfo.elements[0].expression = this.currentMsg.alertRule.expr.replace(/\"/g, '\'').replace(/\r|\n+/g, ''))