登录密码加密

lijinlong
吕天方 5 months ago
parent cbf7b95050
commit bafa5f71bc

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

Loading…
Cancel
Save