From 7572187d4088a9d08f2eb86507febf057e1a2494 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 18 十二月 2023 16:01:18 +0800 Subject: [PATCH] modified: vue.config.js --- src/views/common/qrCodeApp.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/common/qrCodeApp.vue b/src/views/common/qrCodeApp.vue index 3aff601..f0bada3 100644 --- a/src/views/common/qrCodeApp.vue +++ b/src/views/common/qrCodeApp.vue @@ -41,8 +41,9 @@ onDecode(result) { console.log(result); if (result !== "") { - this.$emit("onDecode", result); - alert(result) + this.result=result + this.$emit("ok",result) + alert(result) } }, // 鐩告満鍙嶈浆 -- Gitblit v1.9.3