Commit f7b08a99 authored by leezng's avatar leezng Committed by 杨奕

fixed el-alert: if using slot, icon should use 'isBigIcon' class

parent 735ef1ac
...@@ -73,11 +73,11 @@ ...@@ -73,11 +73,11 @@
}, },
isBigIcon() { isBigIcon() {
return this.description ? 'is-big' : ''; return this.description || this.$slots.default ? 'is-big' : '';
}, },
isBoldTitle() { isBoldTitle() {
return this.description ? 'is-bold' : ''; return this.description || this.$slots.default ? 'is-bold' : '';
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment