diff --git a/apps/admin/src/pages/Attendance/index.tsx b/apps/admin/src/pages/Attendance/index.tsx index be6bd79..8fed6ca 100644 --- a/apps/admin/src/pages/Attendance/index.tsx +++ b/apps/admin/src/pages/Attendance/index.tsx @@ -529,7 +529,6 @@ const AttendancePage: React.FC = () => { dataIndex: 'remark', key: 'remark', width: 150, - ellipsis: true, render: (v: string | null) => v || '-', }, { @@ -691,7 +690,7 @@ const AttendancePage: React.FC = () => { columns={columns} dataSource={records} loading={loading} - scroll={{ x: 1100 }} + scroll={{ x: 1200 }} pagination={{ current: page, pageSize, diff --git a/apps/admin/src/pages/Roles/index.tsx b/apps/admin/src/pages/Roles/index.tsx index 14fd063..5f5ce04 100644 --- a/apps/admin/src/pages/Roles/index.tsx +++ b/apps/admin/src/pages/Roles/index.tsx @@ -127,14 +127,13 @@ const RolesPage: React.FC = () => { }; const columns = [ - { title: 'ID', dataIndex: 'id', width: 60 }, + { title: 'ID', dataIndex: 'id', width: 80 }, { title: '名称', dataIndex: 'name', width: 120 }, - { title: '描述', dataIndex: 'description', width: 200, ellipsis: true }, + { title: '描述', dataIndex: 'description', width: 200 }, { title: '权限标签', dataIndex: 'permissions', width: 150, - ellipsis: true, render: (perms: PermissionItem[]) => perms?.length > 0 ? ( {perms.length} 个权限 @@ -145,12 +144,12 @@ const RolesPage: React.FC = () => { { title: '系统', dataIndex: 'isSystem', - width: 70, + width: 80, render: (v: boolean) => (v ? 系统 : null), }, { title: '操作', - width: 160, + width: 180, fixed: 'right' as const, render: (_: any, record: RoleItem) => (