Explorar el Código

fix: oauth url

wzyyy hace 3 años
padre
commit
85a0f3b329
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();
     }
     }