ray-template/src/router/modules/demo/context-menu.ts
2024-03-23 11:25:28 +08:00

17 lines
367 B
TypeScript

import { t } from '@/hooks/web/useI18n'
import type { AppRouteRecordRaw } from '@/router/types'
const contextMenu: AppRouteRecordRaw = {
path: '/context-menu',
name: 'ContextMenuDemo',
component: () => import('@/views/demo/context-menu/index'),
meta: {
i18nKey: t('menu.ContextMenu'),
icon: 'other',
order: 2,
},
}
export default contextMenu