fix: conditional-container sections 경로 수정
문제:
- extractReferencedScreens()에서 props.sections를 체크
- 실제 데이터 구조는 props.componentConfig.sections
- 결과: conditional-container 안의 화면들이 수집되지 않음
- 예: 화면 205의 sections에 있는 202, 208 누락
해결:
- props.sections → props.componentConfig.sections
- conditional-container 안의 모든 화면 정상 수집
- 재귀 복사 로직은 이미 완벽하게 작동 중
참고:
- 모달 안의 모달(재귀 참조)은 이미 정상 작동
- 예: 157 → 253 → 254 (3단계 재귀) ✅
관련 파일:
- backend-node/src/services/menuCopyService.ts
This commit is contained in:
parent
9b7416b6f8
commit
3be98234a8
|
|
@ -232,8 +232,11 @@ export class MenuCopyService {
|
|||
}
|
||||
|
||||
// 2) 조건부 컨테이너 (숫자 또는 문자열)
|
||||
if (props?.sections && Array.isArray(props.sections)) {
|
||||
for (const section of props.sections) {
|
||||
if (
|
||||
props?.componentConfig?.sections &&
|
||||
Array.isArray(props.componentConfig.sections)
|
||||
) {
|
||||
for (const section of props.componentConfig.sections) {
|
||||
if (section.screenId) {
|
||||
const screenId = section.screenId;
|
||||
const numId =
|
||||
|
|
|
|||
Loading…
Reference in New Issue