당일 날짜에 이벤트 입력 후 디폴트 색깔 없어짐 수정
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
nevermoregb 2025-04-07 13:10:23 +09:00
parent 84c4e2a7ad
commit 29f97e8aba

View File

@ -342,6 +342,11 @@
useFilterEventList(month, day); useFilterEventList(month, day);
}; };
//
const colorToday = e => {
if (todayEL != null && !todayEL.classList.contains('fc-day-today')) todayEL.classList.add('fc-day-today');
};
// //
const handleMouseDown = (date, jsEvent) => { const handleMouseDown = (date, jsEvent) => {
if (showModal.value) showModal.value = false; if (showModal.value) showModal.value = false;
@ -572,6 +577,7 @@
// //
window.addEventListener('wheel', handleWheelEvent); window.addEventListener('wheel', handleWheelEvent);
window.addEventListener('click', colorToday);
}); });
</script> </script>
<style scoped> <style scoped>