From 6e97047a993f994457a0e8a7ba45582509e1d9f2 Mon Sep 17 00:00:00 2001 From: kk <875203880@qq.com> Date: Sat, 25 Jul 2026 11:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 5727ea7..65219be 100644 --- a/src/App.vue +++ b/src/App.vue @@ -53,8 +53,7 @@ if (state) { loadingUrl += '&state=' + state; } - // 必须用 reLaunch:支付宝回调时当前页可能就是 loading 页, - // redirectTo 到同一页面不会重新触发 onLoad,导致请求卡住 + // reLaunch 保证 onLoad 一定触发(支付宝回调时当前页可能已是 loading 页) uni.reLaunch({ url: loadingUrl }); return; }