Sanakey
2024-08-07 807478b46d3940ba0fb5353f7cb8d220bc67bbf9
提交 | 用户 | age
807478 1 import type { AppRouteModule } from '@/router/types';
S 2
3 import { LAYOUT } from '@/router/constant';
4 import { t } from '@/hooks/web/useI18n';
5
6 const flow: AppRouteModule = {
7   path: '/flow',
8   name: 'FlowDemo',
9   component: LAYOUT,
10   redirect: '/flow/flowChart',
11   meta: {
12     orderNo: 5000,
13     icon: 'tabler:chart-dots',
14     title: t('routes.demo.flow.name'),
15   },
16   children: [
17     {
18       path: 'flowChart',
19       name: 'flowChartDemo',
20       component: () => import('@/views/demo/comp/flow-chart/index.vue'),
21       meta: {
22         title: t('routes.demo.flow.flowChart'),
23       },
24     },
25   ],
26 };
27
28 export default flow;