zhizhijie
2026-09-22 15c8035c5b9d490fad685f0665fbfaeec3220e5d
traffic-audit-web/src/router/index.js
@@ -19,7 +19,7 @@
})
router.beforeEach((to, from, next) => {
  const token = localStorage.getItem('token')
  const token = sessionStorage.getItem('token')
  if (to.path === '/login') {
    next(token ? '/dashboard' : undefined)
  } else {