123456789101112131415161718192021222324252627282930前端template: columns: [ { title: '序号', width: '60px', required: true, dataIndex: 'no', scopedSlots: { customRender: 'no' }, align: 'center', ellipsis: true, }]{{ (pagination.page - 1) * pagination.pageSize + index + 1 }}data:pagination: { pageSize: 10, ...pagination},后端请求:this.pagination = Object.assign({}, this.pagination, { page: data?.page, pageSize: data?.size, total: data?.total, current: data?.page});声明:本文采用BY-NC-SA协议进行授权 |WEB开发分享转载请注明转自
...
继续阅读
(51)