From 1476216d2574bbf16279fee2cae8ed6f4533a19d Mon Sep 17 00:00:00 2001 From: leejunghyeok Date: Mon, 20 May 2024 17:06:51 +0900 Subject: [PATCH] feat : page upload --- src/components/common/PageNavigation.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/PageNavigation.vue b/src/components/common/PageNavigation.vue index 2e54bc3..8ff4fc9 100644 --- a/src/components/common/PageNavigation.vue +++ b/src/components/common/PageNavigation.vue @@ -5,7 +5,7 @@ const props = defineProps({ currentPage: Number, totalPage: Number }) const emit = defineEmits(['pageChange']) // const navigationSize = parseInt(import.meta.env.VITE_ARTICLE_NAVIGATION_SIZE) -const navigationSize = 10 +const navigationSize = 5 const startPage = computed(() => { return parseInt((props.currentPage - 1) / navigationSize) * navigationSize + 1