style :修改asset页面labels样式 修改message的判断条件
This commit is contained in:
@@ -638,7 +638,7 @@
|
||||
})
|
||||
},
|
||||
messageStyle(e) {
|
||||
if (e.column.label == 'Alerts') {
|
||||
if (e.column.label == 'Alerts' || e.column.label == this.$t("asset.tableTitle.alerts")) {
|
||||
if (e.row.alertNum > 0) {
|
||||
return 'danger';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user