Merge pull request 'dev' (#699) from dev into dev-deploy
Reviewed-on: #699
This commit is contained in:
commit
875dacc3a5
@ -1 +0,0 @@
|
|||||||
1772531776
|
|
||||||
@ -103,6 +103,7 @@ export const useTrestle = () => {
|
|||||||
const result = calculateForApi(surface)
|
const result = calculateForApi(surface)
|
||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
|
console.log('모듈이 없거나 계산 실패:', surface.modules?.length || 0)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const centerPoints = result.centerPoints
|
const centerPoints = result.centerPoints
|
||||||
@ -753,7 +754,11 @@ export const useTrestle = () => {
|
|||||||
const { data, data2, result } = await getQuotationItem(params)
|
const { data, data2, result } = await getQuotationItem(params)
|
||||||
|
|
||||||
if (result.resultCode === 'E') {
|
if (result.resultCode === 'E') {
|
||||||
swalFire({ text: result.resultMsg, icon: 'error' })
|
//swalFire({ text: result.resultMsg, icon: 'error' })
|
||||||
|
swalFire({
|
||||||
|
text: result.resultMsg || getMessage('common.message.noData'),
|
||||||
|
icon: 'error'
|
||||||
|
})
|
||||||
clear()
|
clear()
|
||||||
setViewCircuitNumberTexts(true)
|
setViewCircuitNumberTexts(true)
|
||||||
setIsGlobalLoading(false)
|
setIsGlobalLoading(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user