zhouwx
2 天以前 29a021ddfc98b26ddcde415809e9f604699ce0bd
src/permission.js
@@ -11,7 +11,7 @@
NProgress.configure({ showSpinner: false });
const whiteList = ['/homePage','/fillForm','/checkProgress','/certPdf'];
const whiteList = ['/homePage'];
router.beforeEach((to, from, next) => {
  NProgress.start()
@@ -36,7 +36,6 @@
                router.addRoute(route) // 动态添加可访问路由表
              }
            })
            console.log(to.fullPath,"to.fullPath")
            if (to.fullPath == '/index') {
              // 当登录之后,直接通过ip地址和端口号访问时,跳转到第一个路由页面indexPage
              let pathIndex = ''