From f43c2a95423fd6b4e7496808ba67f850040805ad Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 17 Sep 2018 17:57:19 +0800 Subject: [PATCH] fix typos --- src/router/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 8d1743f..d2b33d5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -78,7 +78,7 @@ export const constantRouterMap = [ redirect: '/nested/menu1', name: 'Nested', meta: { - title: 'nested', + title: 'Nested', icon: 'nested' }, children: [ @@ -86,31 +86,31 @@ export const constantRouterMap = [ path: 'menu1', component: () => import('@/views/nested/menu1/index'), // Parent router-view name: 'Menu1', - meta: { title: 'menu1' }, + meta: { title: 'Menu1' }, children: [ { path: 'menu1-1', component: () => import('@/views/nested/menu1/menu1-1'), name: 'Menu1-1', - meta: { title: 'menu1-1' } + meta: { title: 'Menu1-1' } }, { path: 'menu1-2', component: () => import('@/views/nested/menu1/menu1-2'), name: 'Menu1-2', - meta: { title: 'menu1-2' }, + meta: { title: 'Menu1-2' }, children: [ { path: 'menu1-2-1', component: () => import('@/views/nested/menu1/menu1-2/menu1-2-1'), name: 'Menu1-2-1', - meta: { title: 'menu1-2-1' } + meta: { title: 'Menu1-2-1' } }, { path: 'menu1-2-2', component: () => import('@/views/nested/menu1/menu1-2/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', component: () => import('@/views/nested/menu1/menu1-3'), name: 'Menu1-3', - meta: { title: 'menu1-3' } + meta: { title: 'Menu1-3' } } ] }, @@ -136,7 +136,7 @@ export const constantRouterMap = [ children: [ { path: 'https://panjiachen.github.io/vue-element-admin-site/#/', - meta: { title: 'externalLink', icon: 'link' } + meta: { title: 'External Link', icon: 'link' } } ] },