添加菜单页面.
This commit is contained in:
@@ -55,7 +55,7 @@ export const REDIRECT_ROUTER: RouteRecordRaw = {
|
||||
export const FORBIDDEN_ROUTE: RouteRecordRaw = {
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: FORBIDDEN_ROUTER_NAME,
|
||||
component: () => import('@/views/base/forbidden/index.vue'),
|
||||
component: () => import('@/views/exception/forbidden/index.vue'),
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,7 @@ export const FORBIDDEN_ROUTE: RouteRecordRaw = {
|
||||
export const NOT_FOUND_ROUTE: RouteRecordRaw = {
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: NOT_FOUND_ROUTER_NAME,
|
||||
component: () => import('@/views/base/not-found/index.vue'),
|
||||
component: () => import('@/views/exception/not-found/index.vue'),
|
||||
};
|
||||
|
||||
export default [
|
||||
|
||||
17
orion-ops-ui/src/router/routes/modules/system.menu.ts
Normal file
17
orion-ops-ui/src/router/routes/modules/system.menu.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { DEFAULT_LAYOUT } from '../base';
|
||||
import { AppRouteRecordRaw } from '../types';
|
||||
|
||||
const MENU: AppRouteRecordRaw = {
|
||||
name: 'menu',
|
||||
path: '/system',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
name: 'systemMenu',
|
||||
path: '/system/menu',
|
||||
component: () => import('@/views/system/menu/index.vue'),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default MENU;
|
||||
Reference in New Issue
Block a user