From fbfdb21b362ba35eb9c110b1d4a4d724c2104c57 Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Sat, 14 Mar 2020 00:51:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(tt):=20=E4=BF=AE=E5=A4=8D=E5=A4=B4=E6=9D=A1?= =?UTF-8?q?=E7=9C=9F=E6=9C=BA=E8=B0=83=E8=AF=95=E6=8A=A5=E9=94=99=EF=BC=8C?= =?UTF-8?q?fix=20#5688?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-tt/src/create-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-tt/src/create-component.js b/packages/taro-tt/src/create-component.js index 311ac43a94ca..7e247aa17524 100644 --- a/packages/taro-tt/src/create-component.js +++ b/packages/taro-tt/src/create-component.js @@ -379,7 +379,7 @@ function createComponent (ComponentClass, isPage) { } } }) - globPageRegistPath && cacheDataSet(globPageRegistPath, ComponentClass) + ComponentClass.$$componentPath && cacheDataSet(ComponentClass.$$componentPath, ComponentClass) } bindProperties(weappComponentConf, ComponentClass, isPage) bindBehaviors(weappComponentConf, ComponentClass)