修改日历时间

This commit is contained in:
筱野
2025-10-18 21:43:40 +08:00
parent 9f5fdfd1a5
commit 506f857dc9
3 changed files with 19 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
color: theme.$primary-color;
white-space: nowrap;
padding-right: 10px;
font-weight: 600;
}
.participant-control-checkbox-wrapper{
display: flex;

View File

@@ -7,6 +7,7 @@ import {
getMonth,
getWeekend,
getWeekendOfCurrentWeek,
getOneMonth
} from "@/utils/timeUtils";
import { PopupPicker } from "@/components/Picker/index";
import dayjs from "dayjs";
@@ -165,7 +166,7 @@ const NutUICalendar = React.forwardRef<CalendarUIRef, NutUICalendarProps>(
onChange?.(dayList);
};
const selectMonth = () => {
const dayList = getWeekendOfCurrentWeek(30);
const dayList = getOneMonth();
setSelectedValue(dayList);
syncMonthTo(dayList[0]);
onChange?.(dayList);