src/router/index.ts @@ -40,7 +40,7 @@ // 看看有没有toke const token = Session.get('token') console.log(!token) if (to.path === '/login') { if (to.path === '/login'|| to.path === '/HomeLoading'){ next() } else {