53 lines
1.1 KiB
TypeScript
53 lines
1.1 KiB
TypeScript
/*
|
|
* @Author: RenXiaoDong
|
|
* @Date: 2025-06-23 04:29:03
|
|
*/
|
|
import { IconBookmark } from '@arco-design/web-vue/es/icon';
|
|
import type { AppRouteRecordRaw } from '../types';
|
|
|
|
const COMPONENTS: AppRouteRecordRaw = {
|
|
path: 'management',
|
|
name: 'management',
|
|
meta: {
|
|
locale: '管理中心',
|
|
icon: IconBookmark,
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
requiresSidebar: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'person',
|
|
name: '个人信息',
|
|
component: () => import('@/views/components/management/person'),
|
|
meta: {
|
|
locale: '个人信息',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
{
|
|
path: 'enterprise',
|
|
name: '企业信息',
|
|
component: () => import('@/views/components/management/enterprise'),
|
|
meta: {
|
|
locale: '企业信息',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
{
|
|
path: 'account',
|
|
name: '账号管理',
|
|
component: () => import('@/views/components/management/account'),
|
|
meta: {
|
|
locale: '账号管理',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default COMPONENTS;
|