From 048494050223be06ea4e93860f2ae4874b4737d0 Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 21 Mar 2025 12:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=A0=81?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tabbar/my.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index 300ddd1..9e8f570 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -179,9 +179,9 @@ const doLogout = async () => { const doScanCode = async () => { usePayStore().setPayData({}) try { - // const res: any = await (window as any).dd.scan({ type: "all", sourceType: ["camera"], scanType: ["cameraScan"] }) - const decodedString = decodeBase64("eyJpZCI6MTg4OTQ4MzkzODQ4NDUzMTIwMSwibmFtZSI6Iua1i+ivlei2heW4giJ9") - // const decodedString = decodeBase64(res.text) + const res: any = await (window as any).dd.scan({ type: "all", sourceType: ["camera"], scanType: ["cameraScan"] }) + // const decodedString = decodeBase64("eyJpZCI6IjE4ODk0ODM5Mzg0ODQ1MzEyMDEiLCJuYW1lIjoi5rWL6K+V6LaF5biCIn0=") + const decodedString = decodeBase64(res.text) if (decodedString) { const decodedJson = JSON.parse(decodedString) if (decodedJson?.id && decodedJson?.name) {