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

[Select] 不传 dataSource 会直接报错 #9

Open
HytonightYX opened this issue Sep 29, 2021 · 0 comments
Open

[Select] 不传 dataSource 会直接报错 #9

HytonightYX opened this issue Sep 29, 2021 · 0 comments

Comments

@HytonightYX
Copy link
Collaborator

目前的问题

<Select.Single />

提示:TypeError: Cannot read properties of undefined (reading 'map')

期望的结果

不报错,渲染一个空的下拉菜单,或填充一个 “无选项” 的 placeholder

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

1 participant