dcloudio / dcloudio/uni-app

ios app端picker多列选择器发现巨坑

Open
#2,631 4 comments 0 reactions 0 assignees View on GitHub
app bug
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
[问题描述:尽可能简洁清晰地把问题描述清楚]

![image](https://user-images.githubusercontent.com/47961959/117523923-88132c80-afed-11eb-9c27-96ad68dd4007.png)
![image](https://user-images.githubusercontent.com/47961959/117523986-e3ddb580-afed-11eb-9aa1-70d5c228ac3e.png)

初始化this.customerPickerTime用于设置picker中的range

注意:
第一列是没有汉字的(故意去掉的方便查看bug)
第二列是有汉字的
经过测试只有ios app端存在 , android app 和 H5正常

![550f728f-55ac-4c0a-9512-8ece9606509d](https://user-images.githubusercontent.com/47961959/117524123-c3fac180-afee-11eb-83d7-beb901c00cac.gif)
根据gif可见,ios app端picker中如果有中文会多一行,而没有中文的则正常(这个坑谁会想到🤮)

**复现步骤**
[复现问题的步骤]
1. 启动 '...'
2. 点击 '....'
3. 查看

[或者可以直接贴源代码]

**预期结果**
[使用简洁清晰的语言描述你希望生效的预期结果]

**实际结果**
[这里请贴上你的报错截图或文字]

**系统信息:**
- 发行平台: [如 微信小程序、H5平台、5+ App等] App H5
- 操作系统 [如 iOS 12.1.2、Android 7.0] ios 13.5.1
- HBuilderX版本 [如使用HBuilderX,则需提供 HBuilderX 版本号]
- uni-app版本 [如使用Vue-cli创建/运行项目,则提供`npm run info`的运行结果]
- 设备信息 [如 iPhone8 Plus] iphone8

**补充信息**
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.