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

[BUG] Picker 组件在非级联模式下接收一维数组作为 options 时无法正常显示且本地没有类型错误提示 #39

Open
Chen0807AiLJX opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Chen0807AiLJX
Copy link

描述问题
使用 Picker 组件,给 options 属性传非级联模式的一维数组时,本地无 TS 类型错误提示,但是当 Picker 展开时页面白屏并出现报错。

复现步骤
步骤:

  1. 使用 Picker 组件
  2. 给 options 属性传非级联模式的一维数组
  3. 展开 Picker

期望结果
Picker正常显示,或者本地给出 options 传参错误的 TS 提示。

实际结果
本地无 TS 类型错误提示,但是当 Picker 展开时页面白屏并出现报错。

环境信息

  • 操作系统: [MacOS]
  • 渠道: [H5]
  • 浏览器: [Chrome]
  • 版本: [1.2.8]

截图(可选)
image

@Chen0807AiLJX Chen0807AiLJX added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant