From 0ccd04e96b7448f05ddb2b046c1bfc2f90bef975 Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Thu, 5 Sep 2024 10:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=AC=BE=E8=A1=A5=E6=AD=A3=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/route/Correction/Correction.tsx | 8 ++++---- src/route/Refun/Refun.tsx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/route/Correction/Correction.tsx b/src/route/Correction/Correction.tsx index 18b030b..b550bbf 100644 --- a/src/route/Correction/Correction.tsx +++ b/src/route/Correction/Correction.tsx @@ -142,7 +142,7 @@ export default function Correction() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', @@ -232,7 +232,7 @@ export default function Correction() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', @@ -328,7 +328,7 @@ export default function Correction() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', @@ -453,7 +453,7 @@ export default function Correction() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', diff --git a/src/route/Refun/Refun.tsx b/src/route/Refun/Refun.tsx index 7868790..625c69f 100644 --- a/src/route/Refun/Refun.tsx +++ b/src/route/Refun/Refun.tsx @@ -120,7 +120,7 @@ export default function Refun() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', @@ -209,7 +209,7 @@ export default function Refun() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称', @@ -292,7 +292,7 @@ export default function Refun() { dataIndex: 'index', align: 'center', width: 80, - render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始 }, { title: '系统名称',