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