[1237] 모듈설정, 공법설정시에 미리 규정의 내용이 입력되어있는것과 같은 설정 - 선택하세요 삭제

This commit is contained in:
ysCha 2025-08-08 14:51:07 +09:00
parent cb42ad82de
commit d03937cc92

View File

@ -262,6 +262,12 @@ export const Orientation = forwardRef((props, ref) => {
setRoofsStore(newRoofs)
}
useEffect(() => {
// selectedModules handleChangeModule
if (moduleList.length > 0 && (!selectedModules || !selectedModules.itemId)) {
handleChangeModule(moduleList[0]);
}
}, [moduleList]); //
return (
<>
<div className="properties-setting-wrap">