From aa4d178956f71e64c3115f8df2385a316fc23953 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Sun, 4 Oct 2026 16:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B8=8E=20master=20?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=9A=84=E6=B8=B8=E6=88=8F=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E9=A1=B5=E6=8E=92=E5=B8=83=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AdminGameReviewsPage.tsx:删除我们新增的重复 tableClassName(master 已在同一组件上有一份,保留 master 那处),保证同名 JSX 属性只剩一处 - AdminGameReviewsPage.tsx:操作列 td 去掉 className="admin-game-reviews-actions-cell"(该 class 的唯一样式来源已随本提交删除,留着就是死代码) - styles/admin.css:整段删除我们尾部新增的平行实现(.admin-game-reviews-table th:last-child 与 .admin-game-reviews-actions-cell .admin-action-row 的 width/nowrap/flex-end) - 保留 master 的评价列表排布体系:.admin-game-reviews-table .admin-status、td:last-child .admin-action-row{flex-wrap:nowrap;justify-content:flex-start} 与 >button{flex-shrink:0} - 自证:tableClassName="admin-game-reviews-table" 命中 1 处;admin-game-reviews-actions-cell 命中 0 处 --- .../admin-web/src/pages/AdminGameReviewsPage.tsx | 3 +-- apps/admin-web/src/styles/admin.css | 16 ---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/apps/admin-web/src/pages/AdminGameReviewsPage.tsx b/apps/admin-web/src/pages/AdminGameReviewsPage.tsx index 68a40ff7e..52f59dda9 100644 --- a/apps/admin-web/src/pages/AdminGameReviewsPage.tsx +++ b/apps/admin-web/src/pages/AdminGameReviewsPage.tsx @@ -298,7 +298,6 @@ export function AdminGameReviewsPage({ token, onUnauthorized }: PageProps) { emptyText="暂无评价。" emptyVariant="text" size="wide" - tableClassName="admin-game-reviews-table" columns={[ { key: 'game', label: '游戏' }, { key: 'author', label: '评价用户' }, @@ -336,7 +335,7 @@ export function AdminGameReviewsPage({ token, onUnauthorized }: PageProps) { {formatAdminDateTime(review.createdAt)} {formatAdminDateTime(review.updatedAt)} - +