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()