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

自定义DropdownMenu菜单内容 #61

Open
1757315673 opened this issue Mar 3, 2020 · 1 comment
Open

自定义DropdownMenu菜单内容 #61

1757315673 opened this issue Mar 3, 2020 · 1 comment

Comments

@1757315673
Copy link

使用selectComponent(id).toggle() 不能手动触发下拉菜单的关闭 。提示this.$refs.date.toggle is not a function

@Rychou
Copy link
Owner

Rychou commented Mar 19, 2020

要看看selectComponent(id) 拿到的组件是不是 DropdownItem 组件,文档里描述的 toggle 方法是属于 DropdownItem 组件的,而不是 DropdownMenu

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

2 participants