mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-02 03:55:59 +00:00
27 lines
588 B
JavaScript
27 lines
588 B
JavaScript
// 错误页
|
|
import { ROUTER_PERMISSION_TYPE } from '@/router/router-const';
|
|
|
|
export const errorRouter = [
|
|
{
|
|
path: '/404',
|
|
name: 'Error404',
|
|
meta: {
|
|
hideInMenu: true,
|
|
access: true,
|
|
permissionType: ROUTER_PERMISSION_TYPE.NO_VALID.value
|
|
},
|
|
component: () => import('views/error/404.vue')
|
|
},
|
|
{
|
|
path: '/500',
|
|
name: 'Error500',
|
|
meta: {
|
|
hideInMenu: true,
|
|
access: true,
|
|
noValidatePrivilege: true,
|
|
permissionType: ROUTER_PERMISSION_TYPE.NO_VALID.value
|
|
},
|
|
component: () => import('views/error/404.vue')
|
|
}
|
|
];
|