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();