mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[bugfix] Icon: name not work when passing url (#2585)
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user