src/router/index.js
@@ -6,6 +6,11 @@ const routes = [ { path: "/", name: "default", component: () => import(/* webpackChunkName: "about" */ "../views/manageCenter") }, { path: "/index", name: "index", component: () => import(/* webpackChunkName: "about" */ "../views/index") }, @@ -134,7 +139,7 @@ ] const router = new VueRouter({ mode:'history', mode: "history", routes })