feat: Oauth update

This commit is contained in:
landaiqing
2024-05-27 23:42:30 +08:00
parent 90a1c1f3ce
commit ce246ae2fe
8 changed files with 64 additions and 55 deletions

View File

@@ -56,6 +56,7 @@ export default observer(() => {
async function oAuthLogin(type: string) {
const res: any = await oauthLogin(type);
console.log(res);
window.location.href = res.data;
}