This commit is contained in:
hyojun.choi 2024-12-18 13:27:20 +09:00
commit 11ffaea666
2 changed files with 4 additions and 3 deletions

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)

View File

@ -85,9 +85,9 @@ export default function Header(props) {
})
}
useEffect(() => {
getAutoLoginParam()
}, [userSession])
// useEffect(() => {
// getAutoLoginParam()
// }, [userSession])
const menus = [
{ id: 0, name: 'header.menus.home', url: '/', children: [] },