From 6ef114fd34440bcd3ae031c96acde66015aa75be Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Fri, 17 Dec 2021 10:05:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=B7=E6=B1=82=E5=A4=B4=E4=BF=A1=E6=81=AF?= =?UTF-8?q?Version:v1.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/loginform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/login/loginform.js b/src/pages/login/loginform.js index a27530ce..4e310744 100644 --- a/src/pages/login/loginform.js +++ b/src/pages/login/loginform.js @@ -131,11 +131,11 @@ function FormDom(props) { const codeyzm = () => { const xhr = new XMLHttpRequest() xhr.open('GET', window.baseurl + '/auth/login/verify') + xhr.setRequestHeader('Version','v1.0.2'); xhr.responseType = "arraybuffer"; xhr.onreadystatechange = function (response) { response.header = { 'Accept': 'application/json', - 'Version':'v1.0.2', 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', } let uniques = xhr.getResponseHeader('Unique-Str')