|
@@ -60,7 +60,7 @@ export const Home: React.FC = (props: any) => {
|
|
|
}).then(res => {
|
|
|
window.localStorage.setItem("token", res.data.data.token)
|
|
|
window.localStorage.setItem("userInfo", JSON.stringify(res.data.data.thirdResult))
|
|
|
- window.location.replace('/')
|
|
|
+ window.location.replace('/home')
|
|
|
console.log(res.data.data.token)
|
|
|
})
|
|
|
}
|