This commit is contained in:
ygx
2026-03-21 16:19:06 +08:00
parent 4708a8bbf7
commit 69e421834b
8 changed files with 501 additions and 364 deletions

View File

@@ -2,44 +2,42 @@ import { DEFAULT_LAYOUT } from '../base'
import { AppRouteRecordRaw } from '../types'
const REMOTE: AppRouteRecordRaw = {
path: '/dc',
name: 'DC',
component: DEFAULT_LAYOUT,
meta: {
locale: 'menu.dc',
requiresAuth: true,
icon: 'icon-desktop',
order: 99,
hideInMenu: true,
},
children: [
{
path: 'detail',
name: 'DCDetail',
component: () => import('@/views/ops/pages/dc/detail/index.vue'),
meta: {
locale: 'menu.dc.detail',
requiresAuth: true,
roles: ['*'],
hideInMenu: true,
is_full: true,
isNewTab: true,
},
},
{
path: 'remote',
name: 'DCRemote',
component: () => import('@/views/ops/pages/dc/remote/index.vue'),
meta: {
locale: 'menu.dc.remote',
requiresAuth: true,
roles: ['*'],
hideInMenu: true,
is_full: true,
isNewTab: true,
},
},
],
// path: '/dc',
// name: 'DC',
// component: DEFAULT_LAYOUT,
// meta: {
// locale: 'menu.dc',
// requiresAuth: true,
// icon: 'icon-desktop',
// order: 99,
// hideInMenu: true,
// },
// children: [
// {
// path: 'detail',
// name: 'DCDetail',
// component: () => import('@/views/ops/pages/dc/detail/index.vue'),
// meta: {
// locale: 'menu.dc.detail',
// requiresAuth: true,
// roles: ['*'],
// // is_full: true,
// isNewTab: true,
// },
// },
// {
// path: 'remote',
// name: 'DCRemote',
// component: () => import('@/views/ops/pages/dc/remote/index.vue'),
// meta: {
// locale: 'menu.dc.remote',
// requiresAuth: true,
// roles: ['*'],
// // is_full: true,
// isNewTab: true,
// },
// },
// ],
}
export default REMOTE