zhuo
2025-03-17 b24224d194991f4c6cf0c30f006b066f85560c63
src/permission.js
@@ -19,6 +19,7 @@
  NProgress.start()
  if (getToken()) {
    to.meta.title && store.dispatch('settings/setTitle', to.meta.title)
    console.log(to.path)
    /* has token*/
    if (to.path === '/login') {
      next({ path: '/' })