mirror of https://github.com/ElemeFE/element
fixed el-alert: if using slot, icon should use 'isBigIcon' class
parent
735ef1ac51
commit
f7b08a9997
|
@ -73,11 +73,11 @@
|
|||
},
|
||||
|
||||
isBigIcon() {
|
||||
return this.description ? 'is-big' : '';
|
||||
return this.description || this.$slots.default ? 'is-big' : '';
|
||||
},
|
||||
|
||||
isBoldTitle() {
|
||||
return this.description ? 'is-bold' : '';
|
||||
return this.description || this.$slots.default ? 'is-bold' : '';
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue