NEZ-3085 fix:Dashboard页面无法打开,页面一直加载

This commit is contained in:
zhangyu
2023-08-18 15:12:54 +08:00
parent 8a78d4f83c
commit 08d842d3b1

View File

@@ -118,7 +118,7 @@ export default {
})
// && n.alertRule.dashboardId
// n.alertRule && (n.alertRule.dashboardId = 101534)
if (n.alertRule && n.alertRule.dashboardId) {
if (n.alertRule && n.alertRule.dashboardId && n.alertRule.dashboardId != -1) {
//
this.cardNames.push({
key: 'dashboard',