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: