🚨fix: 도면 작성 버튼 안보이는 문제 해결
This commit is contained in:
parent
bf26864f61
commit
c1fb6a08ca
@ -87,6 +87,7 @@ export default function Login() {
|
|||||||
}
|
}
|
||||||
await promisePost({ url: '/api/login/v1.0/login', data: param })
|
await promisePost({ url: '/api/login/v1.0/login', data: param })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
console.log('🚀 ~ .then ~ res:', res)
|
||||||
if (res) {
|
if (res) {
|
||||||
if (res.data.result.resultCode === 'S') {
|
if (res.data.result.resultCode === 'S') {
|
||||||
setSession(res.data.data)
|
setSession(res.data.data)
|
||||||
@ -97,7 +98,7 @@ export default function Login() {
|
|||||||
} else {
|
} else {
|
||||||
Cookies.remove('chkLoginId')
|
Cookies.remove('chkLoginId')
|
||||||
}
|
}
|
||||||
router.push('/')
|
// router.push('/')
|
||||||
} else {
|
} else {
|
||||||
alert(res.data.result.resultMsg)
|
alert(res.data.result.resultMsg)
|
||||||
}
|
}
|
||||||
@ -106,6 +107,8 @@ export default function Login() {
|
|||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
alert(error.response.data.message)
|
alert(error.response.data.message)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
router.push('/')
|
||||||
}
|
}
|
||||||
|
|
||||||
// 비밀번호 초기화 관련
|
// 비밀번호 초기화 관련
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user