40 changed files with 159 additions and 889 deletions
@ -1,11 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const about: MenuModule = { |
|
||||
orderNo: 100000, |
|
||||
menu: { |
|
||||
path: '/about/index', |
|
||||
name: t('routes.dashboard.about'), |
|
||||
}, |
|
||||
}; |
|
||||
export default about; |
|
||||
@ -1,22 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 10, |
|
||||
menu: { |
|
||||
name: t('routes.dashboard.dashboard'), |
|
||||
path: '/dashboard', |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'analysis', |
|
||||
name: t('routes.dashboard.analysis'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'workbench', |
|
||||
name: t('routes.dashboard.workbench'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,45 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 500, |
|
||||
menu: { |
|
||||
name: t('routes.demo.charts.charts'), |
|
||||
path: '/charts', |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'aMap', |
|
||||
name: t('routes.demo.charts.aMap'), |
|
||||
}, |
|
||||
|
|
||||
{ |
|
||||
path: 'baiduMap', |
|
||||
name: t('routes.demo.charts.baiduMap'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'googleMap', |
|
||||
name: t('routes.demo.charts.googleMap'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'echarts', |
|
||||
name: 'Echarts', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'map', |
|
||||
name: t('routes.demo.charts.map'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'line', |
|
||||
name: t('routes.demo.charts.line'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'pie', |
|
||||
name: t('routes.demo.charts.pie'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,279 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 30, |
|
||||
menu: { |
|
||||
name: t('routes.demo.comp.comp'), |
|
||||
path: '/comp', |
|
||||
tag: { dot: true }, |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.comp.basic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'form', |
|
||||
name: t('routes.demo.form.form'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.form.basic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'useForm', |
|
||||
name: t('routes.demo.form.useForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'refForm', |
|
||||
name: t('routes.demo.form.refForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'advancedForm', |
|
||||
name: t('routes.demo.form.advancedForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'ruleForm', |
|
||||
name: t('routes.demo.form.ruleForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'dynamicForm', |
|
||||
name: t('routes.demo.form.dynamicForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'customerForm', |
|
||||
name: t('routes.demo.form.customerForm'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'appendForm', |
|
||||
name: t('routes.demo.form.appendForm'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'table', |
|
||||
name: t('routes.demo.table.table'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.table.basic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'treeTable', |
|
||||
name: t('routes.demo.table.treeTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'fetchTable', |
|
||||
name: t('routes.demo.table.fetchTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'fixedColumn', |
|
||||
name: t('routes.demo.table.fixedColumn'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'customerCell', |
|
||||
name: t('routes.demo.table.customerCell'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'formTable', |
|
||||
name: t('routes.demo.table.formTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'useTable', |
|
||||
name: t('routes.demo.table.useTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'refTable', |
|
||||
name: t('routes.demo.table.refTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'multipleHeader', |
|
||||
name: t('routes.demo.table.multipleHeader'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'mergeHeader', |
|
||||
name: t('routes.demo.table.mergeHeader'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'expandTable', |
|
||||
name: t('routes.demo.table.expandTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'fixedHeight', |
|
||||
name: t('routes.demo.table.fixedHeight'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'footerTable', |
|
||||
name: t('routes.demo.table.footerTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'editCellTable', |
|
||||
name: t('routes.demo.table.editCellTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'editRowTable', |
|
||||
name: t('routes.demo.table.editRowTable'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'authColumn', |
|
||||
name: t('routes.demo.table.authColumn'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'cropper', |
|
||||
name: t('routes.demo.comp.cropperImage'), |
|
||||
tag: { |
|
||||
content: 'new', |
|
||||
}, |
|
||||
}, |
|
||||
{ |
|
||||
path: 'countTo', |
|
||||
name: t('routes.demo.comp.countTo'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'timestamp', |
|
||||
name: t('routes.demo.comp.time'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'transition', |
|
||||
name: t('routes.demo.comp.transition'), |
|
||||
}, |
|
||||
|
|
||||
{ |
|
||||
path: 'modal', |
|
||||
name: t('routes.demo.comp.modal'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'drawer', |
|
||||
name: t('routes.demo.comp.drawer'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'desc', |
|
||||
name: t('routes.demo.comp.desc'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'qrcode', |
|
||||
name: t('routes.demo.comp.qrcode'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'strength-meter', |
|
||||
name: t('routes.demo.comp.strength'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'upload', |
|
||||
name: t('routes.demo.comp.upload'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'loading', |
|
||||
name: t('routes.demo.comp.loading'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'tree', |
|
||||
name: t('routes.demo.comp.tree'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.comp.treeBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'editTree', |
|
||||
name: t('routes.demo.comp.editTree'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'actionTree', |
|
||||
name: t('routes.demo.comp.actionTree'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
name: t('routes.demo.editor.editor'), |
|
||||
path: 'editor', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'json', |
|
||||
name: t('routes.demo.editor.jsonEditor'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'markdown', |
|
||||
name: t('routes.demo.editor.markdown'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'index', |
|
||||
name: t('routes.demo.editor.tinymceBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'editor', |
|
||||
name: t('routes.demo.editor.tinymceForm'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'tinymce', |
|
||||
name: t('routes.demo.editor.tinymce'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'index', |
|
||||
name: t('routes.demo.editor.tinymceBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'editor', |
|
||||
name: t('routes.demo.editor.tinymceForm'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'scroll', |
|
||||
name: t('routes.demo.comp.scroll'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.comp.scrollBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'action', |
|
||||
name: t('routes.demo.comp.scrollAction'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'virtualScroll', |
|
||||
name: t('routes.demo.comp.virtualScroll'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'lazy', |
|
||||
name: t('routes.demo.comp.lazy'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.comp.lazyBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'transition', |
|
||||
name: t('routes.demo.comp.lazyTransition'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'verify', |
|
||||
name: t('routes.demo.comp.verify'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'drag', |
|
||||
name: t('routes.demo.comp.verifyDrag'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'rotate', |
|
||||
name: t('routes.demo.comp.verifyRotate'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,29 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 500, |
|
||||
menu: { |
|
||||
name: t('routes.demo.excel.excel'), |
|
||||
path: '/excel', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'customExport', |
|
||||
name: t('routes.demo.excel.customExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'jsonExport', |
|
||||
name: t('routes.demo.excel.jsonExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'arrayExport', |
|
||||
name: t('routes.demo.excel.arrayExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'importExcel', |
|
||||
name: t('routes.demo.excel.importExcel'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,130 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 19, |
|
||||
menu: { |
|
||||
name: t('routes.demo.feat.feat'), |
|
||||
path: '/feat', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'icon', |
|
||||
name: t('routes.demo.feat.icon'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'ws', |
|
||||
name: t('routes.demo.feat.ws'), |
|
||||
}, |
|
||||
{ |
|
||||
name: t('routes.demo.feat.sessionTimeout'), |
|
||||
path: 'session-timeout', |
|
||||
}, |
|
||||
{ |
|
||||
path: 'tabs', |
|
||||
name: t('routes.demo.feat.tabs'), |
|
||||
}, |
|
||||
|
|
||||
{ |
|
||||
path: 'context-menu', |
|
||||
name: t('routes.demo.feat.contextMenu'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'download', |
|
||||
name: t('routes.demo.feat.download'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'print', |
|
||||
name: t('routes.demo.feat.print'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'click-out-side', |
|
||||
name: t('routes.demo.feat.clickOutSide'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'img-preview', |
|
||||
name: t('routes.demo.feat.imgPreview'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'copy', |
|
||||
name: t('routes.demo.feat.copy'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'msg', |
|
||||
name: t('routes.demo.feat.msg'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'watermark', |
|
||||
name: t('routes.demo.feat.watermark'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'ripple', |
|
||||
name: t('routes.demo.feat.ripple'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'full-screen', |
|
||||
name: t('routes.demo.feat.fullScreen'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'error-log', |
|
||||
name: t('routes.demo.feat.errorLog'), |
|
||||
}, |
|
||||
|
|
||||
{ |
|
||||
name: t('routes.demo.excel.excel'), |
|
||||
path: 'excel', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'customExport', |
|
||||
name: t('routes.demo.excel.customExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'jsonExport', |
|
||||
name: t('routes.demo.excel.jsonExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'arrayExport', |
|
||||
name: t('routes.demo.excel.arrayExport'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'importExcel', |
|
||||
name: t('routes.demo.excel.importExcel'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
name: t('routes.demo.feat.breadcrumb'), |
|
||||
path: 'breadcrumb', |
|
||||
|
|
||||
children: [ |
|
||||
// {
|
|
||||
// path: 'flat',
|
|
||||
// name: t('routes.demo.feat.breadcrumbFlat'),
|
|
||||
// },
|
|
||||
// {
|
|
||||
// path: 'flatDetail',
|
|
||||
// name: t('routes.demo.feat.breadcrumbFlatDetail'),
|
|
||||
// },
|
|
||||
{ |
|
||||
path: 'children', |
|
||||
name: t('routes.demo.feat.breadcrumbChildren'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'testTab', |
|
||||
name: t('routes.demo.feat.tab'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'id1', |
|
||||
name: t('routes.demo.feat.tab1'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'id2', |
|
||||
name: t('routes.demo.feat.tab2'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,17 +0,0 @@ |
|||||
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; |
|
||||
@ -1,25 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 1000, |
|
||||
menu: { |
|
||||
name: t('routes.demo.iframe.frame'), |
|
||||
path: '/frame', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'doc', |
|
||||
name: t('routes.demo.iframe.doc'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'antv', |
|
||||
name: t('routes.demo.iframe.antv'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'https://vvbin.cn/doc-next/', |
|
||||
name: t('routes.demo.iframe.docExternal'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,37 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 2000, |
|
||||
menu: { |
|
||||
name: t('routes.demo.level.level'), |
|
||||
path: '/level', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'menu1', |
|
||||
name: 'Menu1', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'menu1-1', |
|
||||
name: 'Menu1-1', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'menu1-1-1', |
|
||||
name: 'Menu1-1-1', |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'menu1-2', |
|
||||
name: 'Menu1-2', |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'menu2', |
|
||||
name: 'Menu2', |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,121 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 20, |
|
||||
menu: { |
|
||||
name: t('routes.demo.page.page'), |
|
||||
path: '/page-demo', |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'form', |
|
||||
name: t('routes.demo.page.form'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.page.formBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'step', |
|
||||
name: t('routes.demo.page.formStep'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'high', |
|
||||
name: t('routes.demo.page.formHigh'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'desc', |
|
||||
name: t('routes.demo.page.desc'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.page.descBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'high', |
|
||||
name: t('routes.demo.page.descHigh'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'result', |
|
||||
name: t('routes.demo.page.result'), |
|
||||
|
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'success', |
|
||||
name: t('routes.demo.page.resultSuccess'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'fail', |
|
||||
name: t('routes.demo.page.resultFail'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'exception', |
|
||||
name: t('routes.demo.page.exception'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: '403', |
|
||||
name: t('403'), |
|
||||
}, |
|
||||
{ |
|
||||
path: '404', |
|
||||
name: t('404'), |
|
||||
}, |
|
||||
{ |
|
||||
path: '500', |
|
||||
name: t('500'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'net-work-error', |
|
||||
name: t('routes.demo.page.netWorkError'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'not-data', |
|
||||
name: t('routes.demo.page.notData'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'account', |
|
||||
name: t('routes.demo.page.account'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'center', |
|
||||
name: t('routes.demo.page.accountCenter'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'setting', |
|
||||
name: t('routes.demo.page.accountSetting'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'list', |
|
||||
name: t('routes.demo.page.list'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'basic', |
|
||||
name: t('routes.demo.page.listBasic'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'card', |
|
||||
name: t('routes.demo.page.listCard'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'search', |
|
||||
name: t('routes.demo.page.listSearch'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,49 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 15, |
|
||||
menu: { |
|
||||
name: t('routes.demo.permission.permission'), |
|
||||
path: '/permission', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'front', |
|
||||
name: t('routes.demo.permission.front'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'page', |
|
||||
name: t('routes.demo.permission.frontPage'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'btn', |
|
||||
name: t('routes.demo.permission.frontBtn'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'auth-pageA', |
|
||||
name: t('routes.demo.permission.frontTestA'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'auth-pageB', |
|
||||
name: t('routes.demo.permission.frontTestB'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
{ |
|
||||
path: 'back', |
|
||||
name: t('routes.demo.permission.back'), |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'page', |
|
||||
name: t('routes.demo.permission.backPage'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'btn', |
|
||||
name: t('routes.demo.permission.backBtn'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
@ -1,14 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const setup: MenuModule = { |
|
||||
orderNo: 90000, |
|
||||
menu: { |
|
||||
path: '/setup/index', |
|
||||
name: t('routes.demo.setup.page'), |
|
||||
tag: { |
|
||||
content: 'new', |
|
||||
}, |
|
||||
}, |
|
||||
}; |
|
||||
export default setup; |
|
||||
@ -1,34 +0,0 @@ |
|||||
import type { MenuModule } from '/@/router/types'; |
|
||||
import { t } from '/@/hooks/web/useI18n'; |
|
||||
|
|
||||
const menu: MenuModule = { |
|
||||
orderNo: 2000, |
|
||||
menu: { |
|
||||
name: t('routes.demo.system.moduleName'), |
|
||||
path: '/system', |
|
||||
children: [ |
|
||||
{ |
|
||||
path: 'account', |
|
||||
name: t('routes.demo.system.account'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'role', |
|
||||
name: t('routes.demo.system.role'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'menu', |
|
||||
name: t('routes.demo.system.menu'), |
|
||||
}, |
|
||||
{ |
|
||||
path: 'dept', |
|
||||
name: t('routes.demo.system.dept'), |
|
||||
}, |
|
||||
|
|
||||
{ |
|
||||
path: 'changePassword', |
|
||||
name: t('routes.demo.system.password'), |
|
||||
}, |
|
||||
], |
|
||||
}, |
|
||||
}; |
|
||||
export default menu; |
|
||||
Loading…
Reference in new issue