no message
Former-commit-id: 1a2521be64c1c4ac98b1c387bedbafb2cbd10f6c [formerly 1ab36176496695dc01631a9639818540bbe63f53] [formerly 1a2521be64c1c4ac98b1c387bedbafb2cbd10f6c [formerly 1ab36176496695dc01631a9639818540bbe63f53] [formerly 1a2521be64c1c4ac98b1c387bedbafb2cbd10f6c [formerly 1ab36176496695dc01631a9639818540bbe63f53] [formerly 1ab36176496695dc01631a9639818540bbe63f53 [formerly b38bf3dd51b153d3260e3db660486ade1bc942fb [formerly 513fe4c73f47ad84999fe575e537a718df6f13e9]]]]] Former-commit-id: 22144ee9fcc46683d9a55b916a4b6503944dfe88 Former-commit-id: a5c05d129e696ab37d0f12b43c17167f9a8e4b65 Former-commit-id: 27469f75fae640e7d096e468a9f6cd43b8756a1b [formerly a7d12f7a9e903b7a541e2d8305028562852e5b30] Former-commit-id: c6767c0d6ca17324825f7c220e3c65686fd5cfae Former-commit-id: 1fe19d6b85903b6d5ae0087a0b60b824bdd7b329 Former-commit-id: a62807e159f370e564bcc45e614e14ac9fcdc92d Former-commit-id: 26294269fc487b6e0fccf33f55f1eea45ba8456a Former-commit-id: 7ca93e8d4d9ff9abc891987bbe893111653f5724
This commit is contained in:
@@ -101,6 +101,16 @@ const routes = [
|
||||
{ path: 'scrollbar', name: `${pre}scrollbar`, component: () => import('@/pages/demo/components/scrollbar/index.vue'), meta }
|
||||
])('demo-components-')
|
||||
},
|
||||
{
|
||||
path: '/demo/element',
|
||||
name: 'demo-element',
|
||||
meta,
|
||||
redirect: { name: 'demo-element-index' },
|
||||
component: () => import('@/components/core/d2-layout-main/index.vue'),
|
||||
children: (pre => [
|
||||
{ path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/element/index/index.vue'), meta }
|
||||
])('demo-element-')
|
||||
},
|
||||
// 登陆
|
||||
{
|
||||
path: '/login',
|
||||
@@ -109,10 +119,6 @@ const routes = [
|
||||
}
|
||||
]
|
||||
|
||||
// routes[3].children.forEach(e => {
|
||||
// console.log(`{ path: \`\${pre}${e.path}\`, title: 'title' }`)
|
||||
// })
|
||||
|
||||
let router = new VueRouter({ routes })
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user