From 4e612b1c123909f6bab7e4412a004c6ec09cb7e5 Mon Sep 17 00:00:00 2001 From: kk <875203880@qq.com> Date: Wed, 22 Jul 2026 10:36:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E6=97=A7=E7=9A=84=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/auth/loading.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/auth/loading.vue b/src/pages/auth/loading.vue index bada88d..0f114fe 100644 --- a/src/pages/auth/loading.vue +++ b/src/pages/auth/loading.vue @@ -24,6 +24,9 @@ export default { this.action = options.action || ''; // #ifdef H5 + // 每次进入页面清除旧的回调标记,防止上次异常退出后标记残留导致 startAuth 被跳过 + uni.removeStorageSync('__auth_callback_done'); + // Mock 模式:跳过微信 OAuth,直接登录 if (config.mockWechatLogin && this.action !== 'userinfo') { this.mockLogin();