This commit is contained in:
eric
2026-03-31 14:12:14 -05:00
parent 186064c20d
commit 86d5990457

View File

@@ -713,6 +713,7 @@ export default function HomeClient() {
/* paid=1 来自 URL 时不再无条件设置,需通过 confirm 或 PB 校验 */
const init = async () => {
const wechatUserIdForPriority = getWechatUserIdFromStorage();
const pendingOrderId = getPendingOrderId();
// 已有 VIP 时忽略陈旧支付轮询标记,否则会 early returninit 从不恢复 VIP表现为「登录后仍显示未解锁」
if (pendingOrderId) {
@@ -721,7 +722,10 @@ export default function HomeClient() {
clearPendingOrder();
} else {
setPayPendingOrderId(pendingOrderId);
return;
// 若已有真实 userid来自参数或本地不要被 pendingOrder 阻断 VIP 恢复链路
if (!wechatUserIdForPriority) {
return;
}
}
}