update magic-boot-ui/src/scripts/auth.js.

少传入一个参数,导致验证码一致错误
This commit is contained in:
珍惜每一天 2022-07-18 13:08:45 +00:00 committed by Gitee
parent f8c4f3ae70
commit 9f9327b392

View File

@ -46,7 +46,8 @@ export function login(data){
data: {
username: data.username,
password: sha256(data.password),
code: data.code
code: data.code,
uuid: data.uuid
}
}).then(res => {
var token = res.data