Merge branch 'dev' of https://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into dev
This commit is contained in:
commit
11ffaea666
@ -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)
|
||||||
|
|||||||
@ -85,9 +85,9 @@ export default function Header(props) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
getAutoLoginParam()
|
// getAutoLoginParam()
|
||||||
}, [userSession])
|
// }, [userSession])
|
||||||
|
|
||||||
const menus = [
|
const menus = [
|
||||||
{ id: 0, name: 'header.menus.home', url: '/', children: [] },
|
{ id: 0, name: 'header.menus.home', url: '/', children: [] },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user