更新版本号

This commit is contained in:
姜棚 2022-01-26 17:21:28 +08:00
parent 6d44944964
commit f60bb1b6fd
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import {Notify} from "zent" import {Notify} from "zent"
// export const baseurl = 'https://marketapi.1688sup.com' // export const baseurl = 'https://marketapi.1688sup.com'
window.baseurl = 'https://marketapi.1688sup.com'; window.baseurl = 'https://marketapi.1688sup.com';
const Version = "v1.0.4" const Version = "v1.1.0"
let baseurl=""; let baseurl="";
if (process.env.NODE_ENV == "test"||process.env.NODE_ENV == "development") { // 测试环境 if (process.env.NODE_ENV == "test"||process.env.NODE_ENV == "development") { // 测试环境
baseurl = "http://192.168.6.75" baseurl = "http://192.168.6.75"

View File

@ -144,7 +144,7 @@ function FormDom(props) {
const codeyzm = () => { const codeyzm = () => {
const xhr = new XMLHttpRequest() const xhr = new XMLHttpRequest()
xhr.open('GET', window.baseurl + '/auth/login/verify') xhr.open('GET', window.baseurl + '/auth/login/verify')
xhr.setRequestHeader('Version','v1.0.4'); xhr.setRequestHeader('Version','v1.1.0');
xhr.responseType = "arraybuffer"; xhr.responseType = "arraybuffer";
xhr.onreadystatechange = function (response) { xhr.onreadystatechange = function (response) {
response.header = { response.header = {