src/router/index.js
@@ -8,8 +8,8 @@ const routes = [ { path: '/', // redirect: "login", redirect: "index", redirect: "login", // redirect: "index", }, { path: '/login', @@ -25,6 +25,7 @@ ]; const router = new Router({ mode: "history", // base: '/Mobile',//测试版 打包时解开 routes, });