使用uni.scanCode扫码
- 发布:2022-12-10 17:45
- 更新:2022-12-10 17:45
- 阅读:752
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.6.5
第三方开发者工具版本号: 1.06
基础库版本号: 2.14.1
项目创建方式: HBuilderX
操作步骤:
预期结果:
返回正确条码:D202209141234765
返回正确条码:D202209141234765
实际结果:
"code:" {charSet: "utf-8", result: "607307", codeVersion: 0, errMsg: "scanCode:ok", rawData: "NjA3MzA3", scanType: "CODE_25"}
"code:" {charSet: "utf-8", result: "607307", codeVersion: 0, errMsg: "scanCode:ok", rawData: "NjA3MzA3", scanType: "CODE_25"}
bug描述:
如图code128条码,使用uni.scanCode扫码多次出来的结果都是错误的,以下是错误结果:
"code:" {charSet: "utf-8", result: "607307", codeVersion: 0, errMsg: "scanCode:ok", rawData: "NjA3MzA3", scanType: "CODE_25"}