mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:35:58 +08:00
perf: improve flowChart logic
This commit is contained in:
@@ -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'),
|
||||
|
18
src/router/menus/modules/demo/flow.ts
Normal file
18
src/router/menus/modules/demo/flow.ts
Normal 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;
|
Reference in New Issue
Block a user