diff --git a/src/router/index.js b/src/router/index.js index ec15d08..9397715 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,13 +5,13 @@ const routes = [ { path: "/", name: "app", - redirect: "/index", + redirect: "/map", meta: { title: "首页", isLogin: true }, component: children, children: [ { - path: "/index/:type?", - name: "/index", + path: "/map/:type?", + name: "/map", meta: { title: "首页", breadcrumb: false,