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

[vue] vue给组件绑定自定义事件无效怎么解决? #466

Open
haizhilin2013 opened this issue Jun 22, 2019 · 3 comments
Open

[vue] vue给组件绑定自定义事件无效怎么解决? #466

haizhilin2013 opened this issue Jun 22, 2019 · 3 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] vue给组件绑定自定义事件无效怎么解决?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 22, 2019
@dengBox
Copy link

dengBox commented Jun 28, 2019

加入.native修饰符

@Gloomysunday28
Copy link

两种方式
1、组件外部加修饰符.navtive
2、组件内部声明$emit('自定义事件')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

4 participants