公共组件分页组件更新

This commit is contained in:
2024-10-15 15:21:10 +08:00
parent 5af6c8d1c9
commit 8ee542f1d9

View File

@@ -58,7 +58,7 @@
function returnMaxPage() {
const result=Math.ceil(props.totalElements / props.size)
return (result-1<=0?1:result-1)
return result
}
let maxPage=ref(returnMaxPage())
const pagesData = computed(() => {