Przeglądaj źródła

fix: add route name(#598)

morrxy 5 lat temu
rodzic
commit
cd8d52bfbd
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

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