fix typos

This commit is contained in:
Pan 2018-09-17 17:57:19 +08:00
parent adec74c04a
commit f43c2a9542
1 changed files with 8 additions and 8 deletions

View File

@ -78,7 +78,7 @@ export const constantRouterMap = [
redirect: '/nested/menu1', redirect: '/nested/menu1',
name: 'Nested', name: 'Nested',
meta: { meta: {
title: 'nested', title: 'Nested',
icon: 'nested' icon: 'nested'
}, },
children: [ children: [
@ -86,31 +86,31 @@ export const constantRouterMap = [
path: 'menu1', path: 'menu1',
component: () => import('@/views/nested/menu1/index'), // Parent router-view component: () => import('@/views/nested/menu1/index'), // Parent router-view
name: 'Menu1', name: 'Menu1',
meta: { title: 'menu1' }, meta: { title: 'Menu1' },
children: [ children: [
{ {
path: 'menu1-1', path: 'menu1-1',
component: () => import('@/views/nested/menu1/menu1-1'), component: () => import('@/views/nested/menu1/menu1-1'),
name: 'Menu1-1', name: 'Menu1-1',
meta: { title: 'menu1-1' } meta: { title: 'Menu1-1' }
}, },
{ {
path: 'menu1-2', path: 'menu1-2',
component: () => import('@/views/nested/menu1/menu1-2'), component: () => import('@/views/nested/menu1/menu1-2'),
name: 'Menu1-2', name: 'Menu1-2',
meta: { title: 'menu1-2' }, meta: { title: 'Menu1-2' },
children: [ children: [
{ {
path: 'menu1-2-1', path: 'menu1-2-1',
component: () => import('@/views/nested/menu1/menu1-2/menu1-2-1'), component: () => import('@/views/nested/menu1/menu1-2/menu1-2-1'),
name: 'Menu1-2-1', name: 'Menu1-2-1',
meta: { title: 'menu1-2-1' } meta: { title: 'Menu1-2-1' }
}, },
{ {
path: 'menu1-2-2', path: 'menu1-2-2',
component: () => import('@/views/nested/menu1/menu1-2/menu1-2-2'), component: () => import('@/views/nested/menu1/menu1-2/menu1-2-2'),
name: 'Menu1-2-2', name: 'Menu1-2-2',
meta: { title: 'menu1-2-2' } meta: { title: 'Menu1-2-2' }
} }
] ]
}, },
@ -118,7 +118,7 @@ export const constantRouterMap = [
path: 'menu1-3', path: 'menu1-3',
component: () => import('@/views/nested/menu1/menu1-3'), component: () => import('@/views/nested/menu1/menu1-3'),
name: 'Menu1-3', name: 'Menu1-3',
meta: { title: 'menu1-3' } meta: { title: 'Menu1-3' }
} }
] ]
}, },
@ -136,7 +136,7 @@ export const constantRouterMap = [
children: [ children: [
{ {
path: 'https://panjiachen.github.io/vue-element-admin-site/#/', path: 'https://panjiachen.github.io/vue-element-admin-site/#/',
meta: { title: 'externalLink', icon: 'link' } meta: { title: 'External Link', icon: 'link' }
} }
] ]
}, },