Skip to content

fix: correct beforeleave event name casing when compiling to Alipay#2548

Open
wangshunnn wants to merge 2 commits into
masterfrom
fix-ali-prop-beforeleave
Open

fix: correct beforeleave event name casing when compiling to Alipay#2548
wangshunnn wants to merge 2 commits into
masterfrom
fix-ali-prop-beforeleave

Conversation

@wangshunnn

@wangshunnn wangshunnn commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

说明

修复微信语法编译到支付宝小程序时,page-container 的 beforeleave 事件被错误转换为 onBeforeleave 的问题,确保最终输出为 onBeforeLeave,并补充回归测试。

支付宝小程序文档确认是 onBeforeLeave
image

验证

相关 ESLint 和 Jest 测试已通过。

@wangshunnn wangshunnn marked this pull request as ready for review July 10, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant