From 576fe3d0cf5221d5c51994acd4c17315f2d24a08 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 13 Aug 2024 18:52:21 +0800 Subject: [PATCH] eslint --- src/components/NoticeModal/NoticeModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NoticeModal/NoticeModal.tsx b/src/components/NoticeModal/NoticeModal.tsx index 5003d33..f3c4cb4 100644 --- a/src/components/NoticeModal/NoticeModal.tsx +++ b/src/components/NoticeModal/NoticeModal.tsx @@ -38,7 +38,7 @@ export default function NoticeModal() { dataIndex: 'index', align: 'center', width: 80, - render: (text, record, index) =>(page - 1)*10 + index + 1, // 显示序号,从1开始 + render: (_text, _record, index) =>(page - 1)*10 + index + 1, // 显示序号,从1开始 }, { title:
站内信
,