perf: alert-rule和asset的告警信息数量样式调整

This commit is contained in:
陈劲松
2020-04-25 10:47:21 +08:00
parent ebe7232671
commit 90c9efd047
3 changed files with 22 additions and 5 deletions

View File

@@ -358,7 +358,7 @@
this.showSubList = true;
},
messageStyle(e) {
if (e.columnIndex == 6) {
if (e.column.label == this.$t("alert.message")) {
if (e.row.alertNum > 0) {
return 'has-message';
} else {