From 5bc00f6e2d82350c985b6adb4b2bb4fa7df1503e Mon Sep 17 00:00:00 2001 From: wyt <1955803161@qq.com> Date: Thu, 30 Oct 2025 09:14:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=B4=E9=9B=A8=E7=9E=B3=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E4=BA=86=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aurora-vue/aurora-blog/src/config/config.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/aurora-vue/aurora-blog/src/config/config.ts b/aurora-vue/aurora-blog/src/config/config.ts index 96945d0..37286dd 100644 --- a/aurora-vue/aurora-blog/src/config/config.ts +++ b/aurora-vue/aurora-blog/src/config/config.ts @@ -1,17 +1,20 @@ +// 应用配置文件:包含QQ登录配置和路由配置等基础信息 export default { + // QQ登录相关配置 qqLogin: { - QQ_APP_ID: '101999415', - QQ_REDIRECT_URI: 'https://www.linhaojun.top/oauth/login/qq' + QQ_APP_ID: '101999415', // QQ登录应用ID,用于第三方QQ登录授权 + QQ_REDIRECT_URI: 'https://www.linhaojun.top/oauth/login/qq' // QQ登录授权后的重定向URI }, + // 路由配置列表:定义应用的路由信息,包含国际化显示名称 routes: [ { - name: 'Home', - path: '/', + name: 'Home', // 路由名称(内部标识) + path: '/', // 路由路径 i18n: { - cn: '首页', - en: 'Home' + cn: '首页', // 中文显示名称 + en: 'Home' // 英文显示名称 }, - children: [] + children: [] // 子路由列表(当前路由无嵌套子路由) }, { name: 'Talks', @@ -68,4 +71,4 @@ export default { children: [] } ] -} +} \ No newline at end of file