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