mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-11 08:16:13 +00:00
v1.0.0
This commit is contained in:
30
front/src/router/module/error.js
Normal file
30
front/src/router/module/error.js
Normal file
@@ -0,0 +1,30 @@
|
||||
// 错误页
|
||||
export const error = [
|
||||
{
|
||||
path: '/401',
|
||||
name: 'Error401',
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
access: true
|
||||
},
|
||||
component: () => import('@/views/error-page/401.vue')
|
||||
},
|
||||
{
|
||||
path: '/500',
|
||||
name: 'Error500',
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
access: true
|
||||
},
|
||||
component: () => import('@/views/error-page/500.vue')
|
||||
},
|
||||
{
|
||||
path: '*',
|
||||
name: 'http://localhost:8080/#employee/role-employee-manage',
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
access: true
|
||||
},
|
||||
component: () => import('@/views/error-page/404.vue')
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user