perf: terminallog红绿提示统一

This commit is contained in:
陈劲松
2020-04-25 12:07:36 +08:00
parent fdce566edb
commit fceeb685d6
4 changed files with 21 additions and 15 deletions

View File

@@ -360,9 +360,9 @@
messageStyle(e) {
if (e.column.label == this.$t("alert.message")) {
if (e.row.alertNum > 0) {
return 'has-message';
return 'danger';
} else {
return 'has-no-message';
return 'success';
}
}
return '';