Skip to content

Commit 5148dd6

Browse files
authored
fix: 修复solid的onShow,onHide不生效的bug (#16569)
1 parent ad13357 commit 5148dd6

File tree

1 file changed

+0
-1
lines changed
  • packages/taro-framework-solid/src/runtime

1 file changed

+0
-1
lines changed

packages/taro-framework-solid/src/runtime/connect.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ type SolidComponent = (props?: any) => TaroNode;
2222

2323
export function setReconciler () {
2424
hooks.tap('getLifecycle', function (instance, lifecycle: string) {
25-
lifecycle = lifecycle.replace(/^on(Show|Hide)$/, 'componentDid$1')
2625
return instance[lifecycle]
2726
})
2827

0 commit comments

Comments
 (0)