|
@@ -249,13 +249,13 @@ export const asyncRouterMap = [
|
|
|
{
|
|
|
path: '/account/center',
|
|
|
name: 'center',
|
|
|
- component: () => import('@/views/account/Index'),
|
|
|
+ component: () => import('@/views/account/center/Index'),
|
|
|
meta: { title: '个人中心', keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/account/settings',
|
|
|
name: 'settings',
|
|
|
- component: () => import('@/views/account/Index'),
|
|
|
+ component: () => import('@/views/account/settings/Index'),
|
|
|
meta: { title: '个人设置', hideHeader: true, keepAlive: true },
|
|
|
redirect: '/account/settings/base',
|
|
|
alwaysShow: true,
|
|
@@ -263,31 +263,31 @@ export const asyncRouterMap = [
|
|
|
{
|
|
|
path: '/account/settings/base',
|
|
|
name: 'BaseSettings',
|
|
|
- component: () => import('@/views/account/BaseSetting'),
|
|
|
+ component: () => import('@/views/account/settings/BaseSetting'),
|
|
|
meta: { title: '基本设置', hidden: true, keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/account/settings/security',
|
|
|
name: 'SecuritySettings',
|
|
|
- component: () => import('@/views/account/Security'),
|
|
|
+ component: () => import('@/views/account/settings/Security'),
|
|
|
meta: { title: '安全设置', hidden: true, keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/account/settings/custom',
|
|
|
name: 'CustomSettings',
|
|
|
- component: () => import('@/views/account/Custom'),
|
|
|
+ component: () => import('@/views/account/settings/Custom'),
|
|
|
meta: { title: '个性化设置', hidden: true, keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/account/settings/binding',
|
|
|
name: 'BindingSettings',
|
|
|
- component: () => import('@/views/account/Binding'),
|
|
|
+ component: () => import('@/views/account/settings/Binding'),
|
|
|
meta: { title: '账户绑定', hidden: true, keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/account/settings/notification',
|
|
|
name: 'NotificationSettings',
|
|
|
- component: () => import('@/views/account/Notification'),
|
|
|
+ component: () => import('@/views/account/settings/Notification'),
|
|
|
meta: { title: '新消息通知', hidden: true, keepAlive: true }
|
|
|
},
|
|
|
]
|