From 7358689dd5d38d82f360f4116ef513d6c7d2fd13 Mon Sep 17 00:00:00 2001 From: Mr-Prune <245922323@qq.com> Date: Wed, 23 May 2018 11:40:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(components):=20=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=A0=87=E7=AD=BE=E4=BA=8B=E4=BB=B6=E6=97=A0?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-components/src/components/image/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ( -