회로 설정 이후 견적서 안넘어가는 현상 수정

This commit is contained in:
hyojun.choi 2025-02-18 15:40:17 +09:00
parent 7af6eeb020
commit 808f497f43

View File

@ -27,7 +27,7 @@ export const useTrestle = () => {
if (notAllocationModules.length > 0) {
swalFire({ text: '回路番号が設定されていないモジュールがあります。 番号を設定しなおすか、 パネルを削除してください。', icon: 'error' })
setIsGlobalLoading(false)
return null
return
}
try {
//처마력바가 체크되어 있는 경우 exposedBottomPoints를 이용해 처마력바 그려줘야함.
@ -598,13 +598,14 @@ export const useTrestle = () => {
surface.set({ quotationParam, isComplete: true })
})
return true
} catch (e) {
// 에러 발생시 가대 초기화
console.error(e)
// clear()
setViewCircuitNumberTexts(true)
setIsGlobalLoading(false)
return null
return false
}
}