46 lines
972 B
TypeScript
46 lines
972 B
TypeScript
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,
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|
|
export default REMOTE
|