2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 05:47:17 +08:00
Files
panel/web/src/views/toolbox/route.ts
2025-05-19 02:15:15 +08:00

37 lines
727 B
Go

import type { RouteType } from '~/types/router'
const Layout = () => import('@/layout/IndexView.vue')
export default {
name: 'toolbox',
path: '/toolbox',
component: Layout,
meta: {
title: 'Toolbox',
icon: 'mdi:tools',
order: 90
},
children: [
{
name: 'toolbox-system',
path: 'system',
component: () => import('./SystemView.vue'),
meta: {
title: 'System',
role: ['admin'],
requireAuth: true
}
},
{
name: 'toolbox-benchmark',
path: 'benchmark',
component: () => import('./BenchmarkView.vue'),
meta: {
title: 'Benchmark',
role: ['admin'],
requireAuth: true
}
}
]
} as RouteType