1
This commit is contained in:
1 parent
e4f3af4e18
commit
33340867ab
1 file changed
+1
-1
@@ -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" })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user