显示分页
This commit is contained in:
@@ -102,7 +102,6 @@
|
||||
</el-table>
|
||||
<!-- 分页 -->
|
||||
<el-pagination
|
||||
v-show="false"
|
||||
style="margin-top: 10px"
|
||||
class="paginationClass"
|
||||
v-model:current-page="currentPage"
|
||||
@@ -149,6 +148,7 @@ export default {
|
||||
page: this.currentPage,
|
||||
pageSize: this.pageSize,
|
||||
}).then((res) => {
|
||||
console.log(res.data.total)
|
||||
this.total = res.data.total;
|
||||
this.tableData = res.data.rows;
|
||||
});
|
||||
|
Reference in New Issue
Block a user