NEZ-1139 fix: Alert rule页面,Default snmptrap报警规则,查看报警页面一直显示加载中

This commit is contained in:
zhangyu
2021-10-29 18:19:49 +08:00
parent df9e3bfb56
commit f5ba781413

View File

@@ -455,6 +455,9 @@ export default {
this.deleteBox.show = true
},
messageDetail (row) {
if (row.alertRule.type == 3) {
return
}
this.$get('/alert/rule/' + row.alertRule.id).then(res => {
this.currentMsg = { ...row, alertRule: { ...res.data } }
this.graphShow = true