{
title: ‘序号’,
align: “center”,
minWidth: 100,
sortable: true,
render: (h, params) => {
return h(‘span’, params.index + (this.currentPage - 1) * this.pageNum + 1) // currentPage 当前页 pageNum 每页显示条数
}
},
iview Table组件分页序号不累加问题
最新推荐文章于 2023-03-13 14:22:24 发布