1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
| import { DEFAULT_LAYOUT } from '../base';
| import { AppRouteRecordRaw } from '../types';
|
| const EXCEPTION: AppRouteRecordRaw = {
| path: '/exception',
| name: 'exception',
| component: DEFAULT_LAYOUT,
| meta: {
| locale: 'menu.exception',
| requiresAuth: true,
| icon: 'icon-exclamation-circle',
| order: 6,
| },
| children: [
| {
| path: '403',
| name: '403',
| component: () => import('@/views/exception/403/index.vue'),
| meta: {
| locale: 'menu.exception.403',
| requiresAuth: true,
| roles: ['admin'],
| },
| },
| {
| path: '404',
| name: '404',
| component: () => import('@/views/exception/404/index.vue'),
| meta: {
| locale: 'menu.exception.404',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| {
| path: '500',
| name: '500',
| component: () => import('@/views/exception/500/index.vue'),
| meta: {
| locale: 'menu.exception.500',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| ],
| };
|
| export default EXCEPTION;
|
|