mirror of https://github.com/ElemeFE/element
MessageBox: fix missing icons
parent
36dfe304f3
commit
96093927e9
|
@ -86,10 +86,10 @@
|
|||
|
||||
let messageBox;
|
||||
let typeMap = {
|
||||
success: 'circle-check',
|
||||
info: 'information',
|
||||
success: 'success',
|
||||
info: 'info',
|
||||
warning: 'warning',
|
||||
error: 'circle-cross'
|
||||
error: 'error'
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
@ -106,11 +106,11 @@
|
|||
padding-right: 12px;
|
||||
}
|
||||
|
||||
&.el-icon-circle-check {
|
||||
&.el-icon-success {
|
||||
color: $--msgbox-success-color;
|
||||
}
|
||||
|
||||
&.el-icon-information {
|
||||
&.el-icon-info {
|
||||
color: $--msgbox-info-color;
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@
|
|||
color: $--msgbox-warning-color;
|
||||
}
|
||||
|
||||
&.el-icon-circle-cross {
|
||||
&.el-icon-error {
|
||||
color: $--msgbox-danger-color;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue