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

Menu