perf:统一第三方授权页面
This commit is contained in:
@@ -32,11 +32,11 @@ const router = createRouter({
|
|||||||
component: () => import("../views/Register.vue"),
|
component: () => import("../views/Register.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "qq",
|
name: "auth",
|
||||||
path: "/auth/qq",
|
path: "/auth/:type",
|
||||||
component: () => import("../views/qqAuth/index.vue"),
|
component: () => import("../views/Auth/index.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "QQ授权",
|
title: "授权",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ const handleContact = () => {
|
|||||||
|
|
||||||
const handleQQLogin = () => {
|
const handleQQLogin = () => {
|
||||||
window.open(
|
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,
|
undefined,
|
||||||
"width=500,height=500,left=50,top=50"
|
"width=500,height=500,left=50,top=50"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user