From d64feb39496ca186cb11f28c7fcff2d21dea17ad Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Tue, 18 Feb 2025 09:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E8=A1=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=89=AB=E6=8F=8F=E5=BD=95=E5=85=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/lowCode/formItem.vue | 3 ++- src/views/home/scanQrCodeInput.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/lowCode/formItem.vue b/src/components/lowCode/formItem.vue index c09bf5d..3406feb 100644 --- a/src/components/lowCode/formItem.vue +++ b/src/components/lowCode/formItem.vue @@ -119,8 +119,9 @@ const handleQrScaning = (val: any) => { } const handleScanResult = (val: any) => { - console.log('传值成功'+val) + //console.log('传值成功'+val) updateModel(val) + qrScaning.value = false } //liwenxuan 20250217 扫描录入 end //获取值 diff --git a/src/views/home/scanQrCodeInput.vue b/src/views/home/scanQrCodeInput.vue index a312b51..32fa3b3 100644 --- a/src/views/home/scanQrCodeInput.vue +++ b/src/views/home/scanQrCodeInput.vue @@ -43,7 +43,7 @@ const onDecode = (res: any) => { //console.log('你好',dataList.value) //alert(dataList.value) //showSuccessToast('扫描成功')--------------------------------------- - console.log('扫描成功'+dataList.value[0].rawValue) + //console.log('扫描成功'+dataList.value[0].rawValue) emits('update-scanResult', dataList.value[0].rawValue) // 触发父组件事件 // 调用后台接口存入数据库 // 数据存入数据库后跳转页面