From c5df55eddd3d966068b7c577f129e0313fa19db8 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 17 Nov 2021 10:57:53 +0800 Subject: [PATCH] 微调扫描组件 --- forms/input/CInputScanCode.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forms/input/CInputScanCode.vue b/forms/input/CInputScanCode.vue index b0dc4c7..032c95a 100644 --- a/forms/input/CInputScanCode.vue +++ b/forms/input/CInputScanCode.vue @@ -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); } }); } -- Gitblit v1.9.1