perf:统一第三方授权页面

This commit is contained in:
Xwen
2024-01-08 21:41:23 +08:00
parent 1466c4e6cd
commit a0fd35bf5e
3 changed files with 5 additions and 5 deletions

View File

@@ -32,11 +32,11 @@ const router = createRouter({
component: () => import("../views/Register.vue"),
},
{
name: "qq",
path: "/auth/qq",
component: () => import("../views/qqAuth/index.vue"),
name: "auth",
path: "/auth/:type",
component: () => import("../views/Auth/index.vue"),
meta: {
title: "QQ授权",
title: "授权",
},
},
],

View File

@@ -305,7 +305,7 @@ const handleContact = () => {
const handleQQLogin = () => {
window.open(
"https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101951505&redirect_uri=https://ccnetcore.com/qq&state=true&scope=get_user_info",
"https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=102087446&redirect_uri=https://ccnetcore.com/auth/qq&state=true&scope=get_user_info",
undefined,
"width=500,height=500,left=50,top=50"
);