MessageBox: fix missing icons

pull/7634/head
Leopoldthecoder 2017-10-23 10:47:35 +08:00 committed by 杨奕
parent 36dfe304f3
commit 96093927e9
2 changed files with 6 additions and 6 deletions

View File

@ -86,10 +86,10 @@
let messageBox; let messageBox;
let typeMap = { let typeMap = {
success: 'circle-check', success: 'success',
info: 'information', info: 'info',
warning: 'warning', warning: 'warning',
error: 'circle-cross' error: 'error'
}; };
export default { export default {

View File

@ -106,11 +106,11 @@
padding-right: 12px; padding-right: 12px;
} }
&.el-icon-circle-check { &.el-icon-success {
color: $--msgbox-success-color; color: $--msgbox-success-color;
} }
&.el-icon-information { &.el-icon-info {
color: $--msgbox-info-color; color: $--msgbox-info-color;
} }
@ -118,7 +118,7 @@
color: $--msgbox-warning-color; color: $--msgbox-warning-color;
} }
&.el-icon-circle-cross { &.el-icon-error {
color: $--msgbox-danger-color; color: $--msgbox-danger-color;
} }
} }