feat: 宿舍管理表格添加 scroll 横向滚动
This commit is contained in:
@@ -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' : '')}
|
||||
|
||||
Reference in New Issue
Block a user