|
@@ -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) {
|