diff --git a/packages/taro-components/src/components/image/index.js b/packages/taro-components/src/components/image/index.js index 86ddfe40cd87..9b986795c2ac 100644 --- a/packages/taro-components/src/components/image/index.js +++ b/packages/taro-components/src/components/image/index.js @@ -8,14 +8,14 @@ class Image extends Nerv.Component { } render () { - const { className, src, style, mode, onLoad, onError } = this.props + const { className, src, style, mode, onLoad, onError, ...reset } = this.props const cls = classNames('taro-img', {}, className) const imgCls = 'taro-img__mode-' + (mode || 'scaleToFill').toLowerCase().replace(/\s/g, '') return ( -