forms/input/CInputScanCode.vue
@@ -80,7 +80,7 @@ this.scaning = true; if (type === 'taro') { Taro.scanCode({ onlyFromCamera: true, onlyFromCamera: false, scanType: 'barCode', success: res => { this.scaning = false; @@ -97,10 +97,10 @@ }); } else if (type === 'app') { if (this.onScaning) { this.onScaning(res => { this.onScaning(result => { this.scaning = false; if (res.result) { this.itemRes.onChange(res.result); if (result) { this.itemRes.onChange(result); } }); }