update Alert style
This commit is contained in:
parent
8390064d4e
commit
27b03d14f8
4 changed files with 43 additions and 16 deletions
|
@ -80,19 +80,20 @@
|
|||
|
||||
switch (this.type) {
|
||||
case 'success':
|
||||
type = 'checkmark-circled';
|
||||
type = 'ios-checkmark';
|
||||
break;
|
||||
case 'info':
|
||||
type = 'information-circled';
|
||||
type = 'ios-information';
|
||||
break;
|
||||
case 'warning':
|
||||
type = 'android-alert';
|
||||
break;
|
||||
case 'error':
|
||||
type = 'close-circled';
|
||||
type = 'ios-close';
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.desc) type += '-outline';
|
||||
return type;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue