gaoluyang
2025-03-17 c0d9143d8f2ae4d60f8b86f90b72afde099f90ae
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: '/' })