feat: 宿舍管理表格添加 scroll 横向滚动

This commit is contained in:
2026-07-03 10:12:03 +08:00
parent 2121282577
commit 87445a0ca6

View File

@@ -375,6 +375,7 @@ const RoomsPage: React.FC = () => {
columns={columns}
dataSource={filteredData}
rowKey="id"
scroll={{ x: 900 }}
loading={loading}
pagination={{ pageSize: 20, showTotal: (total) => `${total}` }}
rowClassName={(record) => (record.status === 'archived' ? 'archived-row' : '')}