feat: 费用录入两个表格添加 scroll 横向滚动
This commit is contained in:
@@ -437,6 +437,7 @@ const ExpensesPage: React.FC = () => {
|
|||||||
dataSource={filteredRoomExpenses}
|
dataSource={filteredRoomExpenses}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
loading={loading}
|
loading={loading}
|
||||||
|
scroll={{ x: 800 }}
|
||||||
pagination={{ pageSize: 15, showTotal: (total) => `共 ${total} 条` }}
|
pagination={{ pageSize: 15, showTotal: (total) => `共 ${total} 条` }}
|
||||||
rowSelection={{
|
rowSelection={{
|
||||||
selectedRowKeys: selectedRoomKeys,
|
selectedRowKeys: selectedRoomKeys,
|
||||||
@@ -589,6 +590,7 @@ const ExpensesPage: React.FC = () => {
|
|||||||
dataSource={filteredPersonalExpenses}
|
dataSource={filteredPersonalExpenses}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
loading={loading}
|
loading={loading}
|
||||||
|
scroll={{ x: 800 }}
|
||||||
pagination={{ pageSize: 15, showTotal: (total) => `共 ${total} 条` }}
|
pagination={{ pageSize: 15, showTotal: (total) => `共 ${total} 条` }}
|
||||||
rowSelection={{
|
rowSelection={{
|
||||||
selectedRowKeys: selectedPersonalKeys,
|
selectedRowKeys: selectedPersonalKeys,
|
||||||
|
|||||||
Reference in New Issue
Block a user