ADMIN-INFO-015: admin 页面 userId 列显示用户名 #34
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
描述
多个页面的列表仍然显示 userId 原始值,需要改为显示用户名(依赖 API-ADMIN-010 后端返回 userName)。
涉及页面
方案
每个 userId 列加
render: (_: any, r: any) => r.userName || r.userId(后端返回 userName 后自动显示,否则降级显示 ID)。依赖
开发完成评论
完成内容
修改文件
src/pages/Billing.tsxsrc/pages/ChatLogs.tsxsrc/pages/ContentSafety.tsxsrc/pages/NotificationAdmin.tsxsrc/pages/SecurityEvents.tsxsrc/pages/ComplianceAdmin.tsxsrc/pages/MemberManagement.tsx测试情况
npx tsc --noEmit依赖
是否建议进入 Review