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

菜单父级加导航 #2637

Closed
by-oneself opened this issue Oct 9, 2019 · 4 comments
Closed

菜单父级加导航 #2637

by-oneself opened this issue Oct 9, 2019 · 4 comments

Comments

@by-oneself
Copy link

image
在菜单父级上面加导航,添加了@click 不起作用

@mayunhai
Copy link
Contributor

mayunhai commented Oct 9, 2019

你这个截图 并没有看到 click 问题很难定位
不过大致可以想象应该是没有添加 .native 修饰符,不能在组件上面直接使用 @click
参考文档 将原生事件绑定到组件

@by-oneself
Copy link
Author

你这个截图并没有
看到click问题很难定位不过大致可以想象应该是没有添加.native修饰符,不能在组件上方直接使用@click
参考文档将原生事件绑定到组件

加native试过了 不行的

@mayunhai
Copy link
Contributor

mayunhai commented Oct 9, 2019

$listeners 试试 文档上面都写了的

@PanJiaChen
Copy link
Owner

@click.native试了下没什么问题。有问题,请提供重新demo

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