futian.liu
2023-12-08 7cc213f91888e0af833034a1bda3c2fd2347b802
admin-web/src/permission.js
@@ -23,7 +23,9 @@
  if (hasToken) {
    if (to.path === '/login') {
      // if is logged in, redirect to the home page
      next({ path: '/' });
      // next({ path: '/' });
      next();
      NProgress.done();
    }else if( to.path === '/resetPwd'){
      next();