From 94356aba09349971fc7e429723819ab9a619644f Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Tue, 8 Apr 2025 20:23:41 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EA=B0=80=20=ED=81=B4=EB=A6=AD?= =?UTF-8?q?=EC=8B=9C=20=EC=A2=8C=EC=B8=A1=20=EB=A9=94=EB=89=B4=EC=97=90=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=20=ED=99=9C=EC=84=B1=ED=99=94=20=EB=90=98?= =?UTF-8?q?=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/MainEventCalendar.vue | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/main/MainEventCalendar.vue b/src/components/main/MainEventCalendar.vue index ec040b0..b2ff95c 100644 --- a/src/components/main/MainEventCalendar.vue +++ b/src/components/main/MainEventCalendar.vue @@ -97,7 +97,6 @@ const calendarDatepicker = ref(null); //const dailyWeatherList = ref([]); - const selectedProject = ref(null); const checkedInProject = ref(null); @@ -587,7 +586,7 @@ }; const handleClickVacation = () => { - router.push({ path: 'Vacation' }); + router.push('/vacation'); }; // 달력 뷰 변경 감지 (월 변경 시 데이터 다시 가져오기) @@ -606,7 +605,7 @@ selectedProject.value = newProject.PROJCTSEQ; checkedInProject.value = newProject; } - } + }, ); onMounted(async () => { @@ -636,13 +635,10 @@ window.addEventListener('wheel', handleWheelEvent); window.addEventListener('click', colorToday); - datePickerStore.initDatePicker( - fullCalendarRef, - async (year, month, options) => { - // 데이터 다시 불러오기 - await fetchData(); - } - ); + datePickerStore.initDatePicker(fullCalendarRef, async (year, month, options) => { + // 데이터 다시 불러오기 + await fetchData(); + }); });