fix:解决asset。tableTitle 删除后的影响

This commit is contained in:
zhangyu
2021-04-25 16:28:09 +08:00
parent 78ed94c1c8
commit de5fe9f1c6
18 changed files with 84 additions and 66 deletions

View File

@@ -261,7 +261,7 @@ export default {
this.esc(false)
},
messageStyle (e) {
if (e.column.label == 'Alerts' || e.column.label == this.$t('asset.tableTitle.alerts')) {
if (e.column.label == 'Alerts' || e.column.label == this.$t('asset.alerts')) {
if (e.row.alertNum > 0) {
return 'danger'
} else {