客户端初版
parent
0ebaacc060
commit
bfdf7170a0
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MarkdownSettingsMigration">
|
||||
<option name="stateVersion" value="1" />
|
||||
|
|
|
@ -74,6 +74,32 @@ export const constantRoutes = [
|
|||
}
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/client',
|
||||
// component: Layout,
|
||||
// redirect: 'client',
|
||||
// children: [
|
||||
// {
|
||||
// path: 'clientClient',
|
||||
// component: () => import('@/views/client/client'),
|
||||
// name: 'clientClient',
|
||||
// meta: { title: '客户端用户信息', icon: 'edit', affix: true }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
// {
|
||||
// path: '/client',
|
||||
// component: Layout,
|
||||
// redirect: 'clientDetails',
|
||||
// children: [
|
||||
// {
|
||||
// path: 'clientClientDetails',
|
||||
// component: () => import('@/views/client/clientDetails'),
|
||||
// name: 'clientClientDetails',
|
||||
// meta: { title: '客户端用户详情', icon: 'edit', affix: true }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/user',
|
||||
component: Layout,
|
||||
|
@ -87,7 +113,46 @@ export const constantRoutes = [
|
|||
meta: { title: '个人中心', icon: 'user' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/client',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
redirect: 'client',
|
||||
children: [
|
||||
{
|
||||
path: 'userlist',
|
||||
component: () => import('@/views/client/client'),
|
||||
name: 'client',
|
||||
meta: { title: '个人信息', icon: 'client' },
|
||||
},
|
||||
{
|
||||
path: 'clientDetails',
|
||||
component: () => import('@/views/client/clientDetails.vue'),
|
||||
name: 'client',
|
||||
meta: { title: '个人信息详情', icon: 'client' }
|
||||
}
|
||||
]
|
||||
}
|
||||
// {
|
||||
// path: '/client',
|
||||
// component: Layout,
|
||||
// hidden: false,
|
||||
// redirect: 'noredirect',
|
||||
// children: [
|
||||
// {
|
||||
// path: 'client',
|
||||
// component: () => import('@/views/system/user/profile/index'),
|
||||
// name: 'Profile',
|
||||
// meta: { title: '个人中心', icon: 'user' }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
// {
|
||||
// path: '/clientDetails',
|
||||
// component: () => import('@/views/client/clientDetails.vue'),
|
||||
//
|
||||
// }
|
||||
]
|
||||
|
||||
// 动态路由,基于用户权限动态去加载
|
||||
|
|
|
@ -89,7 +89,7 @@ export default {
|
|||
},
|
||||
loading: false,
|
||||
// 验证码开关
|
||||
captchaEnabled: true,
|
||||
captchaEnabled: false,
|
||||
// 注册开关
|
||||
register: false,
|
||||
redirect: undefined
|
||||
|
|
Loading…
Reference in New Issue