29 lines
570 B
TypeScript
29 lines
570 B
TypeScript
|
import { DEFAULT_LAYOUT } from '../base';
|
||
|
import { AppRouteRecordRaw } from '../types';
|
||
|
|
||
|
const SYSTEM: AppRouteRecordRaw = {
|
||
|
path: '/system',
|
||
|
name: 'system',
|
||
|
component: DEFAULT_LAYOUT,
|
||
|
meta: {
|
||
|
locale: 'menu.system',
|
||
|
icon: 'icon-computer',
|
||
|
requiresAuth: true,
|
||
|
order: 9,
|
||
|
},
|
||
|
children: [
|
||
|
{
|
||
|
path: 'user',
|
||
|
name: 'User',
|
||
|
component: () => import('@/views/system/user/index.vue'),
|
||
|
meta: {
|
||
|
locale: 'menu.system.user',
|
||
|
requiresAuth: true,
|
||
|
roles: ['*'],
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|
||
|
|
||
|
export default SYSTEM;
|