gx
chenyc
2025-06-09 81ced3885266779c3a3813a0e4687962375b1d62
src/router/index.ts
@@ -98,7 +98,11 @@
   if (to.path === '/login' && !token) {
      next();
      NProgress.done();
   } else {
   }else if (to.path === '/tiaochabiao1' && !token) {
      next();
      NProgress.done();
   }
    else {
      if (!token) {
         next(`/login?redirect=${to.path}&params=${JSON.stringify(to.query ? to.query : to.params)}`);
         Session.clear();