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

[Question] Menu组件的特殊逻辑 #2126

Open
eightHundreds opened this issue Jun 2, 2023 · 1 comment
Open

[Question] Menu组件的特殊逻辑 #2126

eightHundreds opened this issue Jun 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working / 明确是 bug

Comments

@eightHundreds
Copy link
Contributor

image

这个逻辑让Antd Menu抛异常。因为这段代码强制传入了不是函数类型的onSelect

image

@eightHundreds
Copy link
Contributor Author

似乎这段逻辑会覆盖掉用户设置onSelect事件

@liujuping liujuping added the bug Something isn't working / 明确是 bug label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working / 明确是 bug
Projects
None yet
Development

No branches or pull requests

2 participants