mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
fix(Icon): default slot
This commit is contained in:
@@ -43,7 +43,7 @@ export default createComponent({
|
|||||||
fontSize: addUnit(this.size),
|
fontSize: addUnit(this.size),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* {slots.default && slots.default()} */}
|
{this.$slots.default?.()}
|
||||||
{imageIcon && <img class={bem('image')} src={name} />}
|
{imageIcon && <img class={bem('image')} src={name} />}
|
||||||
<Info
|
<Info
|
||||||
dot={this.dot}
|
dot={this.dot}
|
||||||
|
Reference in New Issue
Block a user