Commit 8213a236 authored by zhengke's avatar zhengke

修改

parent 654322d6
...@@ -8,7 +8,7 @@ LoadingBar.setDefaults({ ...@@ -8,7 +8,7 @@ LoadingBar.setDefaults({
position: "bottom" position: "bottom"
}); });
let loadAsyncRouter = false; let loadAsyncRouter = false;
const whiteList = ["/login", "/", "/contractConfirm","contractPay","contractView","contractSign","noticeView"]; // 不重定向白名单 const whiteList = ["/login", "/", "/contractConfirm","/contractPay","/contractView","/contractSign","/noticeView"]; // 不重定向白名单
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
localStorage.setItem("routerBefore", from.path); localStorage.setItem("routerBefore", from.path);
LoadingBar.start(); LoadingBar.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment