uni.scanCode({
scanType: ['barCode', 'qrCode', 'pdf417', 'datamatrix'],
success: function(res) {
handleScanResult(res.result)
},
fail: function(err){
//
}
})

- 发布:2025-02-17 16:31
- 更新:2025-02-17 16:31
- 阅读:21
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: window10
HBuilderX类型: 正式
HBuilderX版本号: 4.52
手机系统: iOS
手机系统版本号: iOS 16
手机厂商: 苹果
手机机型: 8p
页面类型: vue
vue版本: vue3
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
调用api 时并点击相册时跳转到 相册页面
调用api 时并点击相册时跳转到 相册页面
实际结果:
未跳转到相册页面,直接 走success 那里了
未跳转到相册页面,直接 走success 那里了
bug描述:
使用扫码api 时在ios 16.7 手机上 扫码时,点击右上角的相册,不跳转到相册列表,但在ios18 上是正常的。