This commit is contained in:
weiwei committed 2025-04-08 19:24:46 +08:00
1 parent e4f3af4e18
commit 33340867ab
1 file changed
+1 -1
+1 -1
View File
@@ -278,7 +278,7 @@ const scanCode = {
} else if (state.appInfo == "sh") {
// 诗画扫码
const res = await (window as any).CP2.showScanQr({ needResult: 1 })
if (res.code == 0) return scanCode.decodeBase64(res.data.qrCode)
if (res.code == 1) return scanCode.decodeBase64(res.data.qrCode)
} else {
uni.showToast({ title: "当前环境未知", icon: "none" })
}