mirror of https://github.com/ElemeFE/element
MessageBox: fix missing icons
parent
36dfe304f3
commit
96093927e9
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue