diff --git a/vue/src/layout/component/Navbar/index.vue b/vue/src/layout/component/Navbar/index.vue
index 38b9c45..92d4f58 100644
--- a/vue/src/layout/component/Navbar/index.vue
+++ b/vue/src/layout/component/Navbar/index.vue
@@ -27,7 +27,7 @@
{{ name }}
-
+
个人中心
$guide(0,guideSteps)">
diff --git a/vue/src/router/constant/module/app.js b/vue/src/router/constant/module/app.js
index 6c9f1ab..0057213 100644
--- a/vue/src/router/constant/module/app.js
+++ b/vue/src/router/constant/module/app.js
@@ -18,6 +18,12 @@ const router = [
name: 'index',
meta: {title: '首页', affix: true, icon: 'home', sort: 0}
},
+ {
+ path: 'user',
+ name: 'userCenter',
+ component: lazyLoadView(import('@/view/userCenter')),
+ meta: {title: '个人中心', noCache: true, icon: 'user', hidden: true},
+ },
{
path: 'redirect/:path(.*)',
component: Redirect
@@ -28,19 +34,6 @@ const router = [
path: 'https://doc.toesbieya.cn',
meta: {title: '文档', icon: 'documentation', sort: 1}
},
- {
- path: '/user',
- component: Layout,
- redirect: '/user/index',
- children: [
- {
- path: 'index',
- name: 'userCenter',
- component: lazyLoadView(import('@/view/userCenter')),
- meta: {title: '个人中心', noCache: true, icon: 'user', hidden: true},
- }
- ]
- },
{
path: '/login',
alias: '/register',