휴가 로그삭제제
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
dyhj625 2025-03-11 14:36:56 +09:00
parent c9271aebfc
commit ac8daab212
2 changed files with 0 additions and 5 deletions

View File

@ -60,7 +60,6 @@ let globalCounter = 0;
const usedVacations = computed(() => {
const data = props.myVacations.flatMap((v) => {
console.log("📌 usedVacations 처리 전 데이터:", v);
const count = v.used_quota
return Array.from({ length: Math.ceil(count) }, (_, i) => ({
@ -71,8 +70,6 @@ const usedVacations = computed(() => {
_expandIndex: globalCounter++,
}));
});
console.log("✅ usedVacations 생성됨:", data);
return data;
});

View File

@ -384,7 +384,6 @@ async function fetchVacationHistory(year) {
const response = await axios.get(`vacation/history?year=${year}`);
if (response.status === 200 && response.data) {
myVacations.value = response.data.data.usedVacations || [];
console.log(myVacations.value)
}
} catch (error) {
console.error(`🚨 휴가 데이터 불러오기 실패:`, error);
@ -478,7 +477,6 @@ function toggleHalfDay(type) {
/* 페이지 이동 시 변경 사항 확인 */
router.beforeEach((to, from, next) => {
if (hasChanges.value) {
console.log('휴가!!!!!');
const answer = window.confirm("저장하지 않은 변경 사항이 있습니다. 이동하시겠습니까?");
if (!answer) {
return next(false);