| src/permission.js | ●●●●● patch | view | raw | blame | history |
src/permission.js
@@ -67,8 +67,6 @@ } }) hideLoading() if (to.fullPath == '/index') { // 当登录之后,直接通过ip地址和端口号访问时,跳转到第一个路由页面indexPage @@ -83,6 +81,7 @@ } else { next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 } hideLoading() // next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 })