How to make it possible for antd table to turn pages normally or change the number of pages displayed on each page and then click on the page turning serial number or increment?

problem description

when using the antd table component, you want to increment the table sequence number. Now you can only start from 1 for each page. You want the second page sequence number to be incremented from the previous page number, and it is reasonable to switch the default paging number.
now is:
render: (text,record,index) = > ${index+1}

Mar.27,2022

{

    title: '',
    dataIndex: 'index',
    key: 'index',
    width: 40,
    render: (text, record, index) =>  `${((curPage-1)*10)+(index+1)}`,
  },

use the onChange and onShowSizeChange methods to determine the current page and the number of pages

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea7af7-1e78.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea7af7-1e78.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?