我想请问下uniapp的扫码功能,我要扫格式为code128的条形码,但是位数超过了15,结果一直扫不出来,请问下有解决方案吗?```javascript
uni.scanCode({
scanType: ['datamatrix','barCode'],
success: (res) => {
this.result = res.result;
console.log(res.scanType);
uni.showToast({
title: this.result,
});
//保留当前页面跳转
uni.navigateTo({
url:'../upload-file/upload-file?SN='+this.result,
})
}
0 个回复