-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
组件继承中部分 methods 不可用 #563
Comments
@yuche 如果绑定的事件来自父类,这里编译后就会缺少 __fn_onXxx=true |
使用属性的方式定义方法:a = () => {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
有Parent 组件,有方法
switchTab
和onShareAppMessage
方法,在 class Child extends Parent 之后,onShareAppMessage
是可以正常调用的,但是switchTab
无法调用复现步骤
期望行为
希望其他方法也能被正常调用
报错信息
[这里请贴上你的完整报错截图或文字]
系统信息
The text was updated successfully, but these errors were encountered: