This commit is contained in:
zjf committed 2026-08-03 23:12:11 +08:00
1 parent 52c638027b
commit b79710cda0
1 file changed
+8
+8
View File
@@ -402,6 +402,14 @@ onLoad(async (options: Record<string, string | undefined>) => {
await login.checkAppInfo()
storage.getUserInfo()
}
// 门户壳「扫一扫」:跳到我的页并自动调起扫码(登录态在本 H5)
if (options?.autoScan === "1") {
const isLogin = await hooks.useCheckLogin()
if (isLogin) {
await appScanCode()
}
}
})
const isMallMchUser = async () => {