🚨fix: 도면 작성 버튼 안보이는 문제 해결

This commit is contained in:
yoosangwook 2024-12-18 11:20:19 +09:00
parent bf26864f61
commit c1fb6a08ca

View File

@ -87,6 +87,7 @@ export default function Login() {
}
await promisePost({ url: '/api/login/v1.0/login', data: param })
.then((res) => {
console.log('🚀 ~ .then ~ res:', res)
if (res) {
if (res.data.result.resultCode === 'S') {
setSession(res.data.data)
@ -97,7 +98,7 @@ export default function Login() {
} else {
Cookies.remove('chkLoginId')
}
router.push('/')
// router.push('/')
} else {
alert(res.data.result.resultMsg)
}
@ -106,6 +107,8 @@ export default function Login() {
.catch((error) => {
alert(error.response.data.message)
})
router.push('/')
}
//