统一分页
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-12-26 22:26:31 +08:00
parent ff95558864
commit 5fc3de821a
3 changed files with 11 additions and 19 deletions

View File

@@ -20,10 +20,7 @@ const { isDesktop } = useBreakpoints()
const limit = ref(props.limit)
const page = ref(props.page)
const sizes = computed(() => {
if (route.name === "contest rank") return [10, 30, 50]
return [10, 20, 30]
})
const sizes = [10, 30, 50]
watch(limit, () => emit("update:limit", limit))
watch(page, () => emit("update:page", page))