Browse Source

fix: add route name(#598)

morrxy 4 years ago
parent
commit
cd8d52bfbd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

@@ -143,6 +143,7 @@ export const constantRoutes = [
143 143
       {
144 144
         path: 'menu2',
145 145
         component: () => import('@/views/nested/menu2/index'),
146
+        name: 'Menu2',
146 147
         meta: { title: 'menu2' }
147 148
       }
148 149
     ]