33 lines
730 B
TypeScript
Raw Normal View History

2025-05-27 13:54:28 +08:00
import type { RouteRecordRaw } from 'vue-router';
import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';
const routes: RouteRecordRaw[] = [
{
component: BasicLayout,
meta: {
icon: 'ant-design:folder-open-outlined',
order: 3,
title: $t('abp.menu.file'),
authority: ['FileManagement'],
},
name: 'file',
path: '/file',
children: [
{
name: 'abpFile',
path: 'page',
component: () => import('#/views/system/abpfiles/index.vue'),
meta: {
icon: 'ant-design:file-text-twotone',
title: $t('abp.menu.file'),
authority: ['FileManagement.File'],
},
},
],
},
];
export default routes;