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

van-nav-bar 组件事件无法接收到 #58

Open
mani95lisa opened this issue Oct 3, 2019 · 3 comments
Open

van-nav-bar 组件事件无法接收到 #58

mani95lisa opened this issue Oct 3, 2019 · 3 comments

Comments

@mani95lisa
Copy link

查了下原因说是mpvue里面不能接收带有-符号的事件,不知道有什么解决方案吗

@EThan-Jam
Copy link

试试驼峰命名吧

@Rychou
Copy link
Owner

Rychou commented Oct 15, 2019

查了下原因说是mpvue里面不能接收带有-符号的事件,不知道有什么解决方案吗

可以手动把组件里的事件名改成驼峰命名

@mani95lisa
Copy link
Author

驼峰也没用的,只能改源代码呢,有的驼峰可以,有的不行,比如nav-bar这个组件就不行

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

No branches or pull requests

3 participants