feat: 费用录入两个表格添加 scroll 横向滚动

This commit is contained in:
2026-07-03 10:12:47 +08:00
parent 1ff833c5b3
commit 7f92f0b7f7

View File

@@ -437,6 +437,7 @@ const ExpensesPage: React.FC = () => {
dataSource={filteredRoomExpenses}
rowKey="id"
loading={loading}
scroll={{ x: 800 }}
pagination={{ pageSize: 15, showTotal: (total) => `${total}` }}
rowSelection={{
selectedRowKeys: selectedRoomKeys,
@@ -589,6 +590,7 @@ const ExpensesPage: React.FC = () => {
dataSource={filteredPersonalExpenses}
rowKey="id"
loading={loading}
scroll={{ x: 800 }}
pagination={{ pageSize: 15, showTotal: (total) => `${total}` }}
rowSelection={{
selectedRowKeys: selectedPersonalKeys,