mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
perf(lazy-container): optimize lazyContainer code
This commit is contained in:
@@ -99,13 +99,32 @@ export default {
|
||||
title: '详情组件',
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: '/lazy',
|
||||
name: 'lazyDemo',
|
||||
component: () => import('/@/views/demo/comp/lazy/index.vue'),
|
||||
redirect: '/comp/lazy/basic',
|
||||
meta: {
|
||||
title: '懒加载组件',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'basic',
|
||||
name: 'BasicLazyDemo',
|
||||
component: () => import('/@/views/demo/comp/lazy/index.vue'),
|
||||
meta: {
|
||||
title: '基础示例',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'transition',
|
||||
name: 'BasicTransitionDemo',
|
||||
component: () => import('/@/views/demo/comp/lazy/Transition.vue'),
|
||||
meta: {
|
||||
title: '动画效果',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/verify',
|
||||
|
Reference in New Issue
Block a user