From 310fa1020fbca5892864779340bbc10e76a430a6 Mon Sep 17 00:00:00 2001 From: erio Date: Mon, 2 Mar 2026 01:23:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20loadUserAndOrders=20=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E6=97=B6=E9=87=8D=E7=BD=AE=20userNotFound=EF=BC=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E7=8A=B6=E6=80=81=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pay/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/pay/page.tsx b/src/app/pay/page.tsx index 763c156..db6bfd1 100644 --- a/src/app/pay/page.tsx +++ b/src/app/pay/page.tsx @@ -87,6 +87,7 @@ function PayContent() { const loadUserAndOrders = async () => { if (!userId || Number.isNaN(userId) || userId <= 0) return; + setUserNotFound(false); try { // 始终获取服务端配置(不含隐私信息) const cfgRes = await fetch(`/api/user?user_id=${userId}`);