From 0f16aeff6a034b53a831a6e2f8f19f7961ef91b8 Mon Sep 17 00:00:00 2001 From: Zeeland <287017217@qq.com> Date: Mon, 31 Oct 2022 19:22:21 +0800 Subject: [PATCH] :bug: fix pagination not found --- pages/admin/articles.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/admin/articles.vue b/pages/admin/articles.vue index bb5b231..7e1feb1 100644 --- a/pages/admin/articles.vue +++ b/pages/admin/articles.vue @@ -139,7 +139,7 @@ export default { handleSizeChange(pageSize) { let _ts = this; _ts.$store.dispatch('admin/fetchArticles', { - page: _ts.pagination.currentPage, + page: _ts.articles.pageNum, rows: pageSize }) }, @@ -147,7 +147,7 @@ export default { let _ts = this; _ts.$store.dispatch('admin/fetchArticles', { page: page, - rows: _ts.pagination.pageSize + rows: _ts.articles.pageSize }) }, toggleStatus() {},