fix:修正中文下 alerts列样式不对的问题

This commit is contained in:
zhangyu
2020-07-21 18:54:47 +08:00
parent b6a56859e4
commit 306eb0984f

View File

@@ -638,7 +638,7 @@
})
},
messageStyle(e) {
if (e.column.label == this.$t("asset.tableTitle.alerts")) {
if (e.column.label == 'Alerts') {
if (e.row.alertNum > 0) {
return 'danger';
} else {