bihuisong 11 kuukautta sitten
vanhempi
commit
cf06fd9836
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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) {