NEZ-2802 fix:国际化补充

This commit is contained in:
zhangyu
2023-04-25 15:09:33 +08:00
parent 1ade31b1b7
commit 5e438b5bbd
2 changed files with 4 additions and 4 deletions

View File

@@ -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 != '<div class="editor-core ql-container ql-snow"><div class="ql-editor"><p><br></p></div></div>') {