소스 검색

fix: oauth url

wzyyy 3 년 전
부모
커밋
85a0f3b329
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/pages/oauth/index.tsx

+ 1 - 0
src/pages/oauth/index.tsx

@@ -69,6 +69,7 @@ const Oauth = () => {
     const res = await Service.getOAuth2(params || data);
     const res = await Service.getOAuth2(params || data);
     if (res.status === 200) {
     if (res.status === 200) {
       window.location.href = res.result;
       window.location.href = res.result;
+      console.log(res.result);
     } else {
     } else {
       getCode();
       getCode();
     }
     }