登录获取验证码

This commit is contained in:
red-deng-deng 2021-11-27 14:46:19 +08:00
parent 8c14b34bc8
commit 57cc144256
1 changed files with 1 additions and 2 deletions

View File

@ -76,9 +76,8 @@ function FormDom(props) {
'Accept': 'application/json',
'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',
}
let uniques = xhr.getResponseHeader('unique_str')
let uniques = xhr.getResponseHeader('Unique-Str')
setUniquestr(uniques);
console.log(uniquestr);
var img = document.getElementById('captcha_img')
var byteArray = new Uint8Array(response.target.response);
var binary = '';