From 2ef79474de05cc3fc50b723da8d08513484b3433 Mon Sep 17 00:00:00 2001 From: yuche Date: Fri, 2 Aug 2019 16:51:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(taro):=20=E7=9B=B4=E6=8E=A5=E5=BC=95?= =?UTF-8?q?=E7=94=A8=20shallow-equal=20=E8=B7=AF=E5=BE=84=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E7=BC=96=E8=AF=91=20=E7=9B=B4=E6=8E=A5=E6=8A=8A?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BC=96=E8=AF=91=E5=88=B0=20@tarojs/taro=20?= =?UTF-8?q?=E5=8C=85,=20=E4=B8=8D=E8=AE=BE=E7=BD=AE=20external?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro/src/memo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro/src/memo.js b/packages/taro/src/memo.js index 594f9e3beedc..3374824a46fa 100644 --- a/packages/taro/src/memo.js +++ b/packages/taro/src/memo.js @@ -1,5 +1,5 @@ import { isFunction } from './util' -import { shallowEqual } from '@tarojs/utils' +import shallowEqual from '@tarojs/utils/src/shallow-equal' export function memo (component, propsAreEqual) { component.prototype.shouldComponentUpdate = function (nextProps) {