화면 복사기능 수정

This commit is contained in:
kjs
2025-11-19 10:03:38 +09:00
parent 5f026e88ab
commit b74cb94191
6 changed files with 887 additions and 180 deletions

View File

@@ -230,6 +230,16 @@ export class ButtonActionExecutor {
const selectedItemsKeys = Object.keys(context.formData).filter(key => {
const value = context.formData[key];
console.log(`🔍 [handleSave] 필터링 체크 - ${key}:`, {
isArray: Array.isArray(value),
length: Array.isArray(value) ? value.length : 0,
firstItem: Array.isArray(value) && value.length > 0 ? {
keys: Object.keys(value[0] || {}),
hasOriginalData: !!value[0]?.originalData,
hasFieldGroups: !!value[0]?.fieldGroups,
actualValue: value[0],
} : null
});
return Array.isArray(value) && value.length > 0 && value[0]?.originalData && value[0]?.fieldGroups;
});
@@ -238,6 +248,7 @@ export class ButtonActionExecutor {
return await this.handleBatchSave(config, context, selectedItemsKeys);
} else {
console.log("⚠️ [handleSave] SelectedItemsDetailInput 데이터 감지 실패 - 일반 저장 진행");
console.log("⚠️ [handleSave] formData 전체 내용:", context.formData);
}
// 폼 유효성 검사