forms/input/CInputScanCode.vue
@@ -52,6 +52,8 @@ itemRes: Object, // 占位提示 placeholder: String, // 由业务层调用app onScaning: Function, }, data() { return { @@ -96,10 +98,12 @@ }, }); } else if (type === 'app') { // TODO:扫码 setTimeout(() => { this.scaning = false; }, 1000); if (this.onScaning) { this.onScaning(res => { this.scaning = false; this.itemRes.onChange(res.result); }); } } }, },