소스 검색

更改登录方式

JXDS18FUJT 2 년 전
부모
커밋
01f0067552
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/home/index.tsx

+ 1 - 1
src/views/home/index.tsx

@@ -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)
       })
     }