2023-07-24 10:05:07 +08:00
|
|
|
import { DEFAULT_LAYOUT } from '../base';
|
|
|
|
|
import { AppRouteRecordRaw } from '../types';
|
|
|
|
|
|
|
|
|
|
const USER: AppRouteRecordRaw = {
|
|
|
|
|
name: 'user',
|
2023-08-02 17:08:40 +08:00
|
|
|
path: '/user',
|
2023-07-24 10:05:07 +08:00
|
|
|
component: DEFAULT_LAYOUT,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
2023-08-15 18:34:09 +08:00
|
|
|
name: 'userRole',
|
|
|
|
|
path: '/user/role',
|
|
|
|
|
component: () => import('@/views/user/role/index.vue'),
|
2023-07-29 13:11:19 +08:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-15 18:34:09 +08:00
|
|
|
name: 'userUser',
|
|
|
|
|
path: '/user/user',
|
|
|
|
|
component: () => import('@/views/user/user/index.vue'),
|
2023-07-24 10:05:07 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default USER;
|