mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-02-12 14:32:48 +08:00
update magic-boot-ui/src/scripts/auth.js.
少传入一个参数,导致验证码一致错误
This commit is contained in:
parent
f8c4f3ae70
commit
9f9327b392
@ -46,7 +46,8 @@ export function login(data){
|
|||||||
data: {
|
data: {
|
||||||
username: data.username,
|
username: data.username,
|
||||||
password: sha256(data.password),
|
password: sha256(data.password),
|
||||||
code: data.code
|
code: data.code,
|
||||||
|
uuid: data.uuid
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
var token = res.data
|
var token = res.data
|
||||||
|
Loading…
Reference in New Issue
Block a user