客户端初版

liqing002
liqing 2024-03-01 09:35:34 +08:00
parent 0ebaacc060
commit bfdf7170a0
3 changed files with 66 additions and 2 deletions

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />

View File

@ -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'),
//
// }
]
// 动态路由,基于用户权限动态去加载

View File

@ -89,7 +89,7 @@ export default {
},
loading: false,
//
captchaEnabled: true,
captchaEnabled: false,
//
register: false,
redirect: undefined