mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
fix(Icon): default slot
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user