Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime-mini): 支持 catch 前缀回调 #121

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

arcturus011
Copy link
Contributor

@arcturus011 arcturus011 commented Nov 3, 2023

修复原因

微信小程序下,当使用 catch 前缀时:

<some-component catch:change="handleAgreeChange"/>

代码会被转换为

<some-copmonent catchChange="handleAgreeChange" ref="$morSaveRef" morTagId="isAgree">

目前组件内的 triggerEvent 仅会触发 on 前缀的回调

@CLAassistant
Copy link

CLAassistant commented Nov 3, 2023

CLA assistant check
All committers have signed the CLA.

@hwaphon hwaphon merged commit 77cc2bd into eleme:main Nov 6, 2023
1 check passed
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.

3 participants