Browse Source

单点登录

bihuisong 11 months ago
parent
commit
cf06fd9836
1 changed files with 3 additions and 1 deletions
  1. 3 1
      songhua-ui/src/views/login.vue

+ 3 - 1
songhua-ui/src/views/login.vue

@@ -139,7 +139,9 @@ export default {
             Cookies.remove('rememberMe');
           }
           this.$store.dispatch("Login", this.loginForm).then(() => {
-            this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
+            this.$router.push({
+              // path: this.redirect ||
+              path: "/", }).catch(()=>{});
           }).catch(() => {
             this.loading = false;
             if (this.captchaEnabled) {