mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Icon: name not work when passing url (#2585)
This commit is contained in:
parent
3b698e595f
commit
b2d86faa05
@ -36,7 +36,7 @@ export default sfc({
|
|||||||
{...{ on: this.$listeners }}
|
{...{ on: this.$listeners }}
|
||||||
>
|
>
|
||||||
{this.$slots.default}
|
{this.$slots.default}
|
||||||
{this.isSrc && <img src={name} />}
|
{this.isSrc && <img src={this.name} />}
|
||||||
<Info info={this.info} />
|
<Info info={this.info} />
|
||||||
</i>
|
</i>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user