要是用分页功能自定义配置,你需要创建一个pagination的配置对象 ```js data() { return{ pagination:{ current: 1, pageSize: 10, pageSizeOptions: ['10', '20', '30'], showTotal: (total, range) => { return range[0] + '-' +range[1] + '共' + total + '条'; }, showQuickJumper: true, showSizeChanger: true, total: 0, } } }, ``` 然后table是这样的 ```js toEdit(record)">Edit ``` 有个方法是这样的 ```js handleTableChange(pagination) { this.pagination.current = pagination.current this.pagination.pageSize = pagination.pageSize }, ``` 最后修改:2021 年 02 月 06 日 © 允许规范转载 打赏 赞赏作者 微信 赞 如果觉得我的文章对你有用,请随意赞赏