회로 설정 이후 견적서 안넘어가는 현상 수정
This commit is contained in:
parent
7af6eeb020
commit
808f497f43
@ -27,7 +27,7 @@ export const useTrestle = () => {
|
|||||||
if (notAllocationModules.length > 0) {
|
if (notAllocationModules.length > 0) {
|
||||||
swalFire({ text: '回路番号が設定されていないモジュールがあります。 番号を設定しなおすか、 パネルを削除してください。', icon: 'error' })
|
swalFire({ text: '回路番号が設定されていないモジュールがあります。 番号を設定しなおすか、 パネルを削除してください。', icon: 'error' })
|
||||||
setIsGlobalLoading(false)
|
setIsGlobalLoading(false)
|
||||||
return null
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
//처마력바가 체크되어 있는 경우 exposedBottomPoints를 이용해 처마력바 그려줘야함.
|
//처마력바가 체크되어 있는 경우 exposedBottomPoints를 이용해 처마력바 그려줘야함.
|
||||||
@ -598,13 +598,14 @@ export const useTrestle = () => {
|
|||||||
surface.set({ quotationParam, isComplete: true })
|
surface.set({ quotationParam, isComplete: true })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return true
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// 에러 발생시 가대 초기화
|
// 에러 발생시 가대 초기화
|
||||||
console.error(e)
|
console.error(e)
|
||||||
// clear()
|
// clear()
|
||||||
setViewCircuitNumberTexts(true)
|
setViewCircuitNumberTexts(true)
|
||||||
setIsGlobalLoading(false)
|
setIsGlobalLoading(false)
|
||||||
return null
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user