客户端初版
parent
0ebaacc060
commit
bfdf7170a0
|
@ -1,4 +1,3 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="MarkdownSettingsMigration">
|
<component name="MarkdownSettingsMigration">
|
||||||
<option name="stateVersion" value="1" />
|
<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',
|
path: '/user',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
|
@ -87,8 +113,47 @@ export const constantRoutes = [
|
||||||
meta: { title: '个人中心', icon: 'user' }
|
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'),
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
]
|
||||||
|
|
||||||
// 动态路由,基于用户权限动态去加载
|
// 动态路由,基于用户权限动态去加载
|
||||||
export const dynamicRoutes = [
|
export const dynamicRoutes = [
|
||||||
|
|
|
@ -89,7 +89,7 @@ export default {
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
// 验证码开关
|
// 验证码开关
|
||||||
captchaEnabled: true,
|
captchaEnabled: false,
|
||||||
// 注册开关
|
// 注册开关
|
||||||
register: false,
|
register: false,
|
||||||
redirect: undefined
|
redirect: undefined
|
||||||
|
|
Loading…
Reference in New Issue