This commit is contained in:
李志鹏
2025-11-05 15:18:00 +08:00
parent a0011529e0
commit 0205f7c6cc

View File

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