feat:alertMessage 添加 info

This commit is contained in:
zhangyu
2022-04-01 15:43:14 +08:00
parent e47e353566
commit 9c4e2a9525
9 changed files with 99 additions and 60 deletions

View File

@@ -604,7 +604,7 @@ export default {
queryDate () {
this.chartLoading = true
let chartInfo = {}
if (this.currentMsg.alertRule.type === 1) {
if (this.currentMsg.alertRule.type === 1 || this.currentMsg.alertRule.type === 3) {
chartInfo = lodash.cloneDeep(lineData)
chartInfo.elements = [{}]
if (!isNaN(this.currentMsg.alertRule.threshold)) {