Skip to content

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

@HytonightYX

Description

@HytonightYX

目前的问题

<Select.Single />

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

期望的结果

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions