派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-30 b5db7d99041a1ea1dbd01c8c5d8f55eb36f7c71e
src/router/index.js
@@ -35,9 +35,11 @@
    console.log(homeRouterName)
    next()
  } else if (!token) {
    next({
      name: LOGIN_PAGE_ROUTE_NAME // 跳转到登录页
    })
    // next({
    //   name: LOGIN_PAGE_ROUTE_NAME // 跳转到登录页
    // })
    console.log(LOGIN_PAGE_ROUTE_NAME)
    next()
  } else {
    next()
  }