z最小查找1个

This commit is contained in:
李志鹏
2025-11-04 13:49:32 +08:00
parent d7be2eed06
commit fcf45c27c7

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 || 1
this.pageSize = size <= 0 ? 1 : size
if (rem) {
this.currentPage = 1
this.getHistoryList()