공휴일 style 달력 좌우로 넓게 나오게
This commit is contained in:
parent
b8a7310af0
commit
08331b7b58
@ -298,7 +298,7 @@
|
||||
// 날짜 선택 가능 여부를 확인하는 공통 함수
|
||||
const isSelectableDate = date => {
|
||||
const checkDate = dayjs(date);
|
||||
const isWeekend = checkDate.day() === 0 || checkDate.day() === 6;
|
||||
const isWeekend = checkDate.day() === 0 || checkDate.day() === 6; // 주말체크
|
||||
// 공휴일 체크
|
||||
const isHoliday = calendarEvents.value.some(
|
||||
event =>
|
||||
@ -560,7 +560,6 @@
|
||||
param.append('day', day);
|
||||
|
||||
if (!weatherStore.dailyWeatherList?.length) {
|
||||
console.log(123);
|
||||
await weatherStore.getWeatherInfo();
|
||||
//dailyWeatherList.value = weatherStore.dailyWeatherList;
|
||||
console.log('dailyWeatherList.value: ', dailyWeatherList.value);
|
||||
@ -603,4 +602,9 @@
|
||||
align-items: center;
|
||||
text-align: center !important; */
|
||||
}
|
||||
|
||||
/* 공휴일만 가로로 넗게 나오게 */
|
||||
::v-deep(.fc-daygrid-event-harness:has(.holiday-event)) {
|
||||
width: 100% !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user