master
lion 2 days ago
parent e41fb21c23
commit c8a9de4131

Binary file not shown.

@ -195,7 +195,10 @@ export default {
if (valid) { if (valid) {
this.loading = true; this.loading = true;
this.$store this.$store
.dispatch("user/login", this.loginForm) .dispatch("user/login", {
username: this.loginForm.username,
password: window.btoa(this.loginForm.password),
})
.then(() => { .then(() => {
console.log(this.redirect); console.log(this.redirect);
if (this.isRemember) { if (this.isRemember) {

Loading…
Cancel
Save