fix: changes
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
06d3a025fc
commit
76788fe889
|
@ -100,23 +100,15 @@ const formattedWeekTotalHours = computed(() =>
|
|||
secondsToHoursMinutes(weekTotalHours.value)
|
||||
);
|
||||
|
||||
// const onInputChange = async (date) => {
|
||||
// if (!date) return;
|
||||
|
||||
// const { timestamp, outside } = date.scope;
|
||||
// const { year, month, day } = timestamp;
|
||||
// const _date = new Date(year, month - 1, day);
|
||||
// setDate(_date);
|
||||
|
||||
// if (outside) getMailStates(_date);
|
||||
// };
|
||||
|
||||
const onInputChange = async (date) => {
|
||||
if (!date) return;
|
||||
|
||||
const { year, month, day } = date.scope.timestamp;
|
||||
const { timestamp, outside } = date.scope;
|
||||
const { year, month, day } = timestamp;
|
||||
const _date = new Date(year, month - 1, day);
|
||||
setDate(_date);
|
||||
|
||||
if (outside) getMailStates(_date);
|
||||
};
|
||||
|
||||
const setDate = async (date) => {
|
||||
|
|
Loading…
Reference in New Issue