mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
优化管理端和卖家端登录
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user