diff --git a/src/pages/Worker/Card/WorkerCalendarItem.vue b/src/pages/Worker/Card/WorkerCalendarItem.vue index 4167a013c..5fb0e9f04 100644 --- a/src/pages/Worker/Card/WorkerCalendarItem.vue +++ b/src/pages/Worker/Card/WorkerCalendarItem.vue @@ -169,7 +169,6 @@ const isToday = (timestamp) => { const { year, month, day } = timestamp; return todayTimestamp.value === new Date(year, month - 1, day).getTime(); }; - onBeforeMount(() => { updateSelectedDate(_year.value); }); @@ -229,6 +228,11 @@ watch(_year, (newValue) => {