mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-02 03:55:59 +00:00
v1.x
This commit is contained in:
26
smart-admin-h5/src/router/error/error.js
Normal file
26
smart-admin-h5/src/router/error/error.js
Normal file
@@ -0,0 +1,26 @@
|
||||
// 错误页
|
||||
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')
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user