This commit is contained in:
focp212@naver.com
2025-11-05 17:36:10 +09:00
parent 3982b3c745
commit 2ce62c9ba1
16 changed files with 128 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ import {
SettlementStatus
} from '../model/types';
import { useStore } from '@/shared/model/store';
import { showAlert } from '@/widgets/show-alert';
export const CalendarWrap = () => {
const { t, i18n } = useTranslation();
@@ -69,6 +70,11 @@ export const CalendarWrap = () => {
setCompletedList(completedArr);
setCompletedDateList(completedDateArr);
}
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
}).finally(() => {
let maxYearMonth = moment().format('YYYYMM');
// let maxYearMonthValue = moment(maxYearMonth).format('YYYYMM');