From d38e627a0a489447e06bc68ab2218b542c70b2c8 Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 20 Dec 2025 03:28:12 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E4=BC=98=E5=8C=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=92=8C=E7=A9=BA=E6=95=B0=E6=8D=AE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 错误状态显示详细错误信息而非通用提示 - 空数据状态明确说明"暂无用户数据,用户注册后会自动同步到此列表" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/admin-web/src/app/(dashboard)/users/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/admin-web/src/app/(dashboard)/users/page.tsx b/frontend/admin-web/src/app/(dashboard)/users/page.tsx index 358c261b..3041ae0e 100644 --- a/frontend/admin-web/src/app/(dashboard)/users/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/users/page.tsx @@ -387,14 +387,14 @@ export default function UsersPage() { )) ) : error ? ( - // 错误状态 + // 错误状态 - 显示详细错误信息 refetch()} /> ) : users.length === 0 ? ( - // 空数据状态 - + // 空数据状态 - 明确告知暂无数据 + ) : ( // 正常显示数据 users.map((user) => (