diff --git a/src/assets/api.js b/src/assets/api.js index c929da28..b48d986c 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -1,7 +1,7 @@ import {Notify} from "zent" // export const baseurl = 'https://marketapi.1688sup.com' window.baseurl = 'https://marketapi.1688sup.com'; -const Version = "v1.0.4" +const Version = "v1.1.0" let baseurl=""; if (process.env.NODE_ENV == "test"||process.env.NODE_ENV == "development") { // 测试环境 baseurl = "http://192.168.6.75" diff --git a/src/pages/login/loginform.js b/src/pages/login/loginform.js index d6dfcd6c..3fc28ac0 100644 --- a/src/pages/login/loginform.js +++ b/src/pages/login/loginform.js @@ -144,7 +144,7 @@ function FormDom(props) { const codeyzm = () => { const xhr = new XMLHttpRequest() xhr.open('GET', window.baseurl + '/auth/login/verify') - xhr.setRequestHeader('Version','v1.0.4'); + xhr.setRequestHeader('Version','v1.1.0'); xhr.responseType = "arraybuffer"; xhr.onreadystatechange = function (response) { response.header = {