From 0205f7c6cccc3746b703c0e6dc507b0e3094403a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Wed, 5 Nov 2025 15:18:00 +0800 Subject: [PATCH] fix --- src/views/HomeView/history.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue index f5e058c6..1537edd5 100644 --- a/src/views/HomeView/history.vue +++ b/src/views/HomeView/history.vue @@ -281,7 +281,7 @@ export default defineComponent({ const historyTable = this.$refs.historyTable const height = historyTable.offsetHeight const size = Math.trunc((height - 110) / 54) - this.pageSize = size <= 0 ? 1 : size + this.pageSize = Math.max(1, size) if (rem) { this.currentPage = 1 this.getHistoryList()