api 오류 시 처리 추가

This commit is contained in:
hyojun.choi 2025-04-10 11:36:44 +09:00
parent e67fc749f4
commit 070e9d933f

View File

@ -717,6 +717,9 @@ export const useTrestle = () => {
if (result.resultCode === 'E') {
swalFire({ text: result.resultMsg, icon: 'error' })
clear()
setViewCircuitNumberTexts(true)
setIsGlobalLoading(false)
return
}