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

picker组件的value值设为-1时,在APP、H5和微信小程序平台,返回结果不一样 #1553

Closed
YangsonHung opened this issue Apr 10, 2020 · 1 comment
Assignees

Comments

@YangsonHung
Copy link

问题描述
picker组件的value值设为-1,在app,H5端选择第一个时,返回值为-1,无法选择picker的range内容的第一项,但是在编译到微信小程序平台,可以选择。

代码
image
image
image

结果
app平台结果:
image
H5结果:
image
微信小程序结果:
image

说明
app和H5平台都不能选择picker组件range属性的内容第一项,但是微信小程序可以。
app和H5平台返回值为-1,类型number;小程序返回0,类型string

系统信息:

  • 发行平台: 微信小程序、H5平台、5+ App
  • 操作系统 Android 9.0、电脑谷歌浏览器、微信小程序官方客户端
  • HBuilderX版本 2.6.9.20200403
  • uni-app版本
  • 设备信息 坚果PRO3

补充说明

image

image

直接点击确定无法选择,出现上述情况。但是如果手指稍微上下滑动红色框区域,让它动一下,点击确定就能选择第一项。
image

@Fasttian
Copy link
Contributor

确认bug,等待修复。h5 和 andriod 有这个问题,小程序和 iOS 正常。

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

3 participants