From 56bc4f8ed8c60ca4f8ec47b1956c415026f789c3 Mon Sep 17 00:00:00 2001 From: xuan Date: Tue, 19 Dec 2023 22:33:49 +0800 Subject: [PATCH] fix: count --- src/views/book/Index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/book/Index.vue b/src/views/book/Index.vue index 5a969ed87..987a19ba4 100644 --- a/src/views/book/Index.vue +++ b/src/views/book/Index.vue @@ -172,7 +172,7 @@ export default { page: 1, //当前页数 total: 0, //总条目数 - per: 8, //每页条目 + per: 0, //每页条目 count: 0, // 自动判断最多显示几个 showTypes: [ @@ -223,7 +223,6 @@ export default { watch: { params: { deep: true, - immediate: true, handler() { this.loadData(); },