perf: improve flowChart logic

This commit is contained in:
Vben
2021-04-17 18:36:49 +08:00
parent 2576735ade
commit e1bc33f5c5
44 changed files with 416 additions and 780 deletions

View File

@@ -123,13 +123,6 @@ const menu: MenuModule = {
content: 'new',
},
},
{
path: 'flowChart',
name: t('routes.demo.comp.flowChart'),
tag: {
content: 'new',
},
},
{
path: 'countTo',
name: t('routes.demo.comp.countTo'),

View File

@@ -0,0 +1,18 @@
import type { MenuModule } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
const menu: MenuModule = {
orderNo: 5000,
menu: {
name: t('routes.demo.flow.name'),
path: '/flow',
children: [
{
path: 'flowChart',
name: t('routes.demo.flow.flowChart'),
},
],
},
};
export default menu;