mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
25 lines
552 B
Go
25 lines
552 B
Go
import type { RouteType } from '~/types/router'
|
|
import { $gettext } from '@/utils/gettext'
|
|
|
|
const Layout = () => import('@/layout/IndexView.vue')
|
|
|
|
export default {
|
|
name: 'benchmark',
|
|
path: '/apps/benchmark',
|
|
component: Layout,
|
|
isHidden: true,
|
|
children: [
|
|
{
|
|
name: 'apps-benchmark-index',
|
|
path: '',
|
|
component: () => import('./IndexView.vue'),
|
|
meta: {
|
|
title: $gettext('Rat Benchmark'),
|
|
icon: 'dashicons:performance',
|
|
role: ['admin'],
|
|
requireAuth: true
|
|
}
|
|
}
|
|
]
|
|
} as RouteType
|