From f524eb4f1fe34f3edcb8581c1a4f5a2cc3a9d2a9 Mon Sep 17 00:00:00 2001 From: phy-lei <765373325@qq.com> Date: Sat, 21 Sep 2024 12:02:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dsolid=E7=9A=84onShow,o?= =?UTF-8?q?nHide=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-framework-solid/src/runtime/connect.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/taro-framework-solid/src/runtime/connect.ts b/packages/taro-framework-solid/src/runtime/connect.ts index 85a8c1550a62..f73f96c120fd 100644 --- a/packages/taro-framework-solid/src/runtime/connect.ts +++ b/packages/taro-framework-solid/src/runtime/connect.ts @@ -22,7 +22,6 @@ type SolidComponent = (props?: any) => TaroNode; export function setReconciler () { hooks.tap('getLifecycle', function (instance, lifecycle: string) { - lifecycle = lifecycle.replace(/^on(Show|Hide)$/, 'componentDid$1') return instance[lifecycle] })