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

This commit is contained in:
xuyue committed 2025-12-26 22:26:31 +08:00
1 parent ff95558864
commit 5fc3de821a
3 files changed
+11 -19

No files matched your search

+1 -4
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))