uni-app showActionSheet 在ios 上卡死
uni-app showActionSheet 在ios 上卡死
信息类别 | 详细信息 |
---|---|
产品分类 | uniapp/App |
PC开发环境 | Windows |
PC版本号 | 3.4.7 |
HBuilderX | 正式 |
HBuilderX版本号 | 3.4.7 |
手机系统 | iOS |
手机版本号 | iOS 14 |
手机厂商 | 苹果 |
手机机型 | iphone11 |
页面类型 | vue |
vue版本 | vue3 |
打包方式 | 云端 |
项目创建方式 | HBuilderX |
示例代码:
uni.showActionSheet({
itemList: ['A', 'B', 'C'],
success: function (res) {
console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
},
fail: function (res) {
console.log(res.errMsg);
}
});
操作步骤:
- list 数据量稍微大一点直接卡死
预期结果:
- 不卡死
实际结果:
- 卡死
bug描述:
- 直接卡死
6 回复
vue2是否正常?安卓正常吗?用示例代码hello uni-app能出现你的问题吗?不能的话请提供可复现的最小化demo(上传附件),让我们及时定位问题,及时修复
【bug优先处理规则】https://ask.dcloud.net.cn/article/38139
安卓正常 ,Vue2没试过
回复 1***@qq.com: ```js const arr = []
就很普通的加载600条 ,ios非常卡
uni.showActionSheet({
itemList: [600条数据],
success: function (res) {
console.log(‘选中了第’ + (res.tapIndex + 1) + ‘个按钮’);
},
fail: function (res) {
console.log(res.errMsg);
}
});