From 3ad537052477fe31f45bd2e16045d58b35713bdc Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期六, 24 五月 2025 09:19:59 +0800 Subject: [PATCH] refactor(env): 更新环境配置并优化代码 --- zhitan-vue/src/router/index.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/zhitan-vue/src/router/index.js b/zhitan-vue/src/router/index.js index dff5256..c214608 100644 --- a/zhitan-vue/src/router/index.js +++ b/zhitan-vue/src/router/index.js @@ -1,6 +1,7 @@ import { createWebHistory, createRouter } from 'vue-router' /* Layout */ import Layout from '@/layout' +import useAppStore from '@/store/modules/app' /** * Note: 璺敱閰嶇疆椤� @@ -43,6 +44,11 @@ hidden: true }, { + path: '/social-callback', + component: () => import('@/layout/components/SocialCallback/index'), + hidden: true + }, + { path: '/register', component: () => import('@/views/register'), hidden: true @@ -66,7 +72,7 @@ path: '/index', component: () => import('@/views/index'), name: 'Index', - meta: { title: '棣栭〉', icon: 'dashboard', affix: true } + meta: { title: '棣栭〉', icon: 'dashboard', affix: true, showSidebar: true, breadcrumb: false } } ] }, -- Gitblit v1.9.3