This commit is contained in:
weiwei committed 2025-03-26 16:55:39 +08:00
1 parent 56bf1d15a5
commit d60ff2fbcc
3 files changed
+39 -45

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ const doScanCode = async () => {
let decodedString: string | undefined = ""
if (isDevEnv()) {
decodedString = decodeBase64("eyJpZCI6IjE5MDQ3MDUzMDEwNTQ2NzY5OTMiLCJuYW1lIjoi5paw5Y6/5bqc6LaF5biCIn0=")
uni.showToast({ title: "开发环境不是浙政钉环境,扫码仅供测试", icon: "none" })
uni.showToast({ title: "开发环境不是浙政钉环境,扫码仅供测试,收款商家为新县府超市", icon: "none" })
} else {
const res: any = await (window as any).dd.scan({ type: "all" })
decodedString = decodeBase64(res.text)