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

版本3.8.0 useSelections 可以增加兜底 #2558

Closed
hangaoke1 opened this issue May 27, 2024 · 1 comment · Fixed by #2559
Closed

版本3.8.0 useSelections 可以增加兜底 #2558

hangaoke1 opened this issue May 27, 2024 · 1 comment · Fixed by #2559

Comments

@hangaoke1
Copy link

升级后,setSelected 值如果设置了 undefined 这里会报异常,与 3.7.6 版本行为不一致
https://github.com/alibaba/hooks/blob/master/packages/hooks/src/useSelections/index.ts#L39C5-L39C13

@liuyib
Copy link
Collaborator

liuyib commented May 28, 2024

多谢反馈,我修复下

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

Successfully merging a pull request may close this issue.

2 participants