2020-10-19 22:09:03 +08:00
|
|
|
import type { MenuModule } from '/@/router/types.d';
|
2020-12-09 00:12:44 +08:00
|
|
|
import { t } from '/@/hooks/web/useI18n';
|
2020-11-26 21:10:21 +08:00
|
|
|
|
2020-10-19 22:09:03 +08:00
|
|
|
const menu: MenuModule = {
|
|
|
|
|
orderNo: 500,
|
|
|
|
|
menu: {
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.editor.editor'),
|
2020-10-19 22:09:03 +08:00
|
|
|
path: '/editor',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'markdown',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.editor.markdown'),
|
2020-10-19 22:09:03 +08:00
|
|
|
},
|
2020-10-22 23:56:33 +08:00
|
|
|
{
|
|
|
|
|
path: 'tinymce',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.editor.tinymce'),
|
2020-10-22 23:56:33 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'index',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.editor.tinymceBasic'),
|
2020-10-22 23:56:33 +08:00
|
|
|
},
|
2020-11-05 23:43:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'editor',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.editor.tinymceForm'),
|
2020-11-05 23:43:34 +08:00
|
|
|
},
|
2020-10-22 23:56:33 +08:00
|
|
|
],
|
|
|
|
|
},
|
2020-10-19 22:09:03 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
export default menu;
|