Browse Source

MessageBox: fix missing icons

Leopoldthecoder 7 năm trước cách đây
mục cha
commit
96093927e9

+ 3 - 3
packages/message-box/src/main.vue

@@ -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 {

+ 3 - 3
packages/theme-chalk/src/message-box.scss

@@ -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;
     }
   }