Skip to content

Commit

Permalink
fix(components): images upload fix NervJS#5921
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored and jiangzm committed Dec 7, 2020
1 parent ab87760 commit 0b6750e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro-components/src/components/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Image extends Nerv.Component {
mode,
onError,
lazyLoad,
imgProps,
...reset
} = this.props
const { aspectFillMode } = this.state
Expand Down Expand Up @@ -97,6 +98,7 @@ class Image extends Nerv.Component {
src={src}
onLoad={this.imageOnLoad}
onError={onError}
{...imgProps}
/>
)}
</div>
Expand Down

0 comments on commit 0b6750e

Please sign in to comment.