mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Icon): default slot
This commit is contained in:
parent
b79e59bc18
commit
3a2e20eb52
@ -43,7 +43,7 @@ export default createComponent({
|
||||
fontSize: addUnit(this.size),
|
||||
}}
|
||||
>
|
||||
{/* {slots.default && slots.default()} */}
|
||||
{this.$slots.default?.()}
|
||||
{imageIcon && <img class={bem('image')} src={name} />}
|
||||
<Info
|
||||
dot={this.dot}
|
||||
|
Loading…
x
Reference in New Issue
Block a user