-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Menu 组件使用单文件方式递归生成菜单,select和click方法取不到title #1723
Comments
文档说的 item 是 VueComponent Menu.Item 这个组件,并不是你的当前数组 item |
那种单文件递归树生成的菜单如何点击获取数据呢,您能给点思路吗,我看它文档说使用单文件方式递归生成菜单,因组件内部会动态更改a-sub-menu的属性,如果拆分成单文件,无法将属性挂载到a-sub-menu上,需要自行声明属性并挂载。 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.4.10
Environment
macos 10.15
Reproduction link
https://github.com/youki666/ant-vue.git
Steps to reproduce
就是那个单文件递归菜单click和select方法取不到title
What is expected?
希望点击菜单能得到该item的title值
What is actually happening?
单文件递归的时候click事件title取不到
The text was updated successfully, but these errors were encountered: