2020-09-28 20:19:10 +08:00
|
|
|
import type { MenuModule } from '/@/router/types.d';
|
2020-11-26 21:10:21 +08:00
|
|
|
|
2020-09-28 20:19:10 +08:00
|
|
|
const menu: MenuModule = {
|
|
|
|
|
orderNo: 30,
|
|
|
|
|
menu: {
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.comp',
|
2020-09-28 20:19:10 +08:00
|
|
|
path: '/comp',
|
2020-12-01 21:02:37 +08:00
|
|
|
tag: {
|
|
|
|
|
dot: true,
|
|
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'basic',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.basic',
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
2020-10-12 01:15:31 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'countTo',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.countTo',
|
2020-10-12 01:15:31 +08:00
|
|
|
},
|
2020-10-25 21:31:14 +08:00
|
|
|
{
|
|
|
|
|
path: 'transition',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.transition',
|
2020-10-25 21:31:14 +08:00
|
|
|
},
|
2020-10-11 23:48:25 +08:00
|
|
|
|
2020-11-03 21:20:01 +08:00
|
|
|
{
|
|
|
|
|
path: 'modal',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.modal',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'drawer',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.drawer',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'desc',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.desc',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'qrcode',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.qrcode',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'strength-meter',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.strength',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
2020-11-15 13:22:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'upload',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.upload',
|
2020-11-15 13:22:34 +08:00
|
|
|
},
|
2020-12-01 20:59:17 +08:00
|
|
|
{
|
|
|
|
|
path: 'loading',
|
|
|
|
|
name: 'routes.demo.comp.loading',
|
2020-12-01 21:02:37 +08:00
|
|
|
tag: {
|
|
|
|
|
content: 'new',
|
|
|
|
|
},
|
2020-12-01 20:59:17 +08:00
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'scroll',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.scroll',
|
2020-09-28 20:19:10 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'basic',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.scrollBasic',
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'action',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.scrollAction',
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'virtualScroll',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.virtualScroll',
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2020-10-26 00:34:23 +08:00
|
|
|
{
|
|
|
|
|
path: 'lazy',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.lazy',
|
2020-11-03 21:20:01 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'basic',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.lazyBasic',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'transition',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.lazyTransition',
|
2020-11-03 21:20:01 +08:00
|
|
|
},
|
|
|
|
|
],
|
2020-10-26 00:34:23 +08:00
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'verify',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.verify',
|
2020-09-28 20:19:10 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'drag',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.verifyDrag',
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'rotate',
|
2020-11-26 21:10:21 +08:00
|
|
|
name: 'routes.demo.comp.verifyRotate',
|
2020-11-12 22:15:15 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
export default menu;
|