优化管理端和卖家端登录

This commit is contained in:
paulGao
2022-01-17 18:00:49 +08:00
parent cf740d9605
commit 1bee69cefb
6 changed files with 47 additions and 11 deletions

View File

@@ -137,10 +137,11 @@ export default {
if (!con.status) return;
this.loading = true;
login({
username: this.form.username,
password: this.md5(this.form.password),
})
let fd = new FormData();
fd.append('username',this.form.username)
fd.append('password',this.md5(this.form.password))
login(fd)
.then((res) => {
this.loading = false;
if (res && res.success) {