|
|
@ -217,7 +217,7 @@ export default {
|
|
|
|
Cookies.remove("rememberMe");
|
|
|
|
Cookies.remove("rememberMe");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$store
|
|
|
|
this.$store
|
|
|
|
.dispatch("Login", {...this.loginForm,userType:this.userType})
|
|
|
|
.dispatch("Login", {...this.loginForm,userType:this.userType, password: encrypt(this.loginForm.password)})
|
|
|
|
.then(() => {
|
|
|
|
.then(() => {
|
|
|
|
this.$router.push({ path: this.redirect || "/" }).catch(() => {});
|
|
|
|
this.$router.push({ path: this.redirect || "/" }).catch(() => {});
|
|
|
|
})
|
|
|
|
})
|
|
|
|