diff --git a/nezha-fronted/src/components/common/alert/alertMessageInfoTab.vue b/nezha-fronted/src/components/common/alert/alertMessageInfoTab.vue index ccad019ba..83545db42 100644 --- a/nezha-fronted/src/components/common/alert/alertMessageInfoTab.vue +++ b/nezha-fronted/src/components/common/alert/alertMessageInfoTab.vue @@ -118,11 +118,11 @@ export default { } }) // && n.alertRule.dashboardId - if (n.alertRule) { - n.alertRule.dashboardId = 1487 + if (n.alertRule && n.alertRule.dashboardId) { + // n.alertRule.dashboardId = 1487 this.cardNames.push({ key: 'dashboard', - label: this.$t('dashboard') + label: this.$t('overall.dashboard') }) } if (n.alertRule && n.alertRule.trbShot && n.alertRule.trbShot != '


') { diff --git a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue index d67885b4a..d79afeae0 100644 --- a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue @@ -327,7 +327,7 @@