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] })