[bugfix] Icon: name not work when passing url (#2585)

This commit is contained in:
rex 2019-01-22 21:44:47 +08:00 committed by neverland
parent 3b698e595f
commit b2d86faa05

View File

@ -36,7 +36,7 @@ export default sfc({
{...{ on: this.$listeners }}
>
{this.$slots.default}
{this.isSrc && <img src={name} />}
{this.isSrc && <img src={this.name} />}
<Info info={this.info} />
</i>
);