src/router/index.js
@@ -10,7 +10,7 @@ const routes = [ { path: '/', redirect: "login", redirect: "home", // redirect: "index", }, { @@ -24,7 +24,7 @@ component: index }, { path: '/index2', path: '/home', name: 'index2', component: index2 },