Browse Source

feat: gitee授权不新开页面

luoyali 8 months ago
parent
commit
e3d3c1fea2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/login/components/passwordForm.vue

+ 1 - 1
src/views/login/components/passwordForm.vue

@@ -130,7 +130,7 @@ export default {
 		},
 		giteeLogin() {
 			const jumpUrl = `https://star.aizuda.com/v1/auth-check?platform=eui&t=${new Date().getTime()}`
-			window.open(jumpUrl, '_blank')
+			window.location.replace(jumpUrl)
 		}
 	}
 }