画布增加图层翻转
This commit is contained in:
@@ -280,7 +280,8 @@ export default defineComponent({
|
||||
setPageSize(rem) {
|
||||
const historyTable = this.$refs.historyTable
|
||||
const height = historyTable.offsetHeight
|
||||
const size = Math.trunc((height - 110) / 54)
|
||||
const itemHeight = historyTable.getElementsByClassName("ant-table-thead")[0]?.offsetHeight || 54;
|
||||
const size = Math.trunc((height - 60 - itemHeight) / itemHeight)
|
||||
this.pageSize = Math.max(1, size)
|
||||
if (rem) {
|
||||
this.currentPage = 1
|
||||
|
||||
Reference in New Issue
Block a user