wzyyy 3 gadi atpakaļ
vecāks
revīzija
85a0f3b329
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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();
     }
     }