Merge pull request '修复学生余额多选充值一次性最高只能选15个' (#33) from xiongyuxing/gongxue-base:main into main

This commit is contained in:
2026-07-22 02:23:09 +00:00
2 changed files with 9 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ jobs:
steps:
- name: Checkout
uses: https://gitee.com/mirrors_actions/checkout@v4
with:
github-server-url: https://git.gongxue100.com
fetch-depth: 1
- name: Install dependencies
run: npm ci

View File

@@ -273,7 +273,12 @@ const WalletsPage: React.FC = () => {
dataSource={rows}
columns={columns}
rowSelection={{ selectedRowKeys, onChange: setSelectedRowKeys }}
pagination={{ pageSize: 15, showTotal: (total) => `${total}` }}
pagination={{
defaultPageSize: 15,
showSizeChanger: true,
pageSizeOptions: [15, 30, 50, 100],
showTotal: (total) => `${total}`,
}}
/>
<Modal
title={`${selected?.studentName || ''} - 余额操作`}