初志鑫 4 years ago
parent
commit
5850cd07e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/login/index.vue

+ 1 - 1
src/views/login/index.vue

@@ -171,7 +171,7 @@
                   this.redirect === "/404" || this.redirect === "/401"
                     ? "/"
                     : this.redirect;
-                this.$router.push(sssrouterPath).catch(() => {});
+                this.$router.push(routerPath).catch(() => {});
                 this.loading = false;
               })
               .catch(() => {