From 1877c64cc27e34273bdf210623c7645813b9bad4 Mon Sep 17 00:00:00 2001 From: alanpaine Date: Mon, 11 May 2026 10:52:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E5=8F=82=E6=95=B0):=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=A1=A8=E6=A0=BC=E7=9A=84onChange=E5=92=8Ct?= =?UTF-8?q?otalCount=E5=B1=9E=E6=80=A7=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 表格配置中移除不再使用的onChange和totalCount属性,同时添加垂直滚动条以改善长列表的浏览体验 --- frontend/src/pages/system/sys-params/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/system/sys-params/index.tsx b/frontend/src/pages/system/sys-params/index.tsx index a08f3c9..8b2f966 100644 --- a/frontend/src/pages/system/sys-params/index.tsx +++ b/frontend/src/pages/system/sys-params/index.tsx @@ -198,8 +198,7 @@ export default function SysParams() { columns={columns} dataSource={data} loading={loading} - onChange={handleTableChange} - totalCount={total} + scroll={{ y: "calc(100vh - 350px)" }} pagination={false} />