显示分页

This commit is contained in:
Dragon
2024-03-28 17:19:01 +08:00
parent 0f1ad9c84e
commit 9f2089e1dc

View File

@@ -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;
});