From 2dc0c664f17e018cf7eb2d99506c83d559b52d3c Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 17 Aug 2022 14:23:24 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=85=91=E6=8D=A2=E7=A0=81=EF=BC=8C=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=BA0=EF=BC=8C=E5=85=85=E5=80=BC=E4=B8=AD?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E4=BD=9C=E5=BA=9F=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/list/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index fe82cf00..5500e362 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -797,7 +797,7 @@ export default class orderlist extends React.Component { onClick={(e) => this.moreFn(e, rowData)}> 详情 - {rowData.status == 1||rowData.status == 0 ? ( + {rowData.status == 1||rowData.status == 0&&rowData.type==1 ? ( this.deleteFn(e, rowData)}> From e8d9b6312e4ba3e933f4db7d46b7d517ae579075 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 17:45:50 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E5=93=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/copyCode/index.jsx | 47 ++++++++++++----------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index bd6eccba..b4b0aa39 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -131,6 +131,18 @@ export default class acclist extends React.Component { this.setState({ direct_reseller_id: req.direct_reseller_id }) + + /* 请求商品数据 */ + getProductInfoSelect({ + reseller_id: req.direct_reseller_id + }).then((res) => { + if (res.code === 200) { + sessionStorage.setItem( + 'productsList', + JSON.stringify(res.data.data) + ) + } + }) }) }) @@ -332,29 +344,19 @@ export default class acclist extends React.Component { } else { this.setState({ product_title: '新增立减金', newGoldLoading: true }) } - let param = { - reseller_id: direct_reseller_ids - } + try { - getProductInfoSelect(param).then((res) => { - console.log('res ==>1', res) - console.log('this.state.tempdata ==>', this.state.tempdata) - if (res.code === 200) { - sessionStorage.setItem('productsList', JSON.stringify(res.data.data)) - console.log('res ==>2', res.data.data) - this.setState({ productData: null }) - this.setState({ drawerVisible2: true }) - } - if (type === 'addProduct') { - this.setState({ - newGoodsBtnLoading: false - }) - } else { - this.setState({ - newGoldLoading: false - }) - } - }) + this.setState({ productData: null }) + this.setState({ drawerVisible2: true }) + if (type === 'addProduct') { + this.setState({ + newGoodsBtnLoading: false + }) + } else { + this.setState({ + newGoldLoading: false + }) + } } catch (err) { if (type === 'addProduct') { this.setState({ @@ -832,7 +834,6 @@ export default class acclist extends React.Component { } keyProductClick(row, index) { - console.log('keyProductClick 13==>', row) if (this.state.direct_reseller_id > 0) { /* 区分立减金 */ if (row.type === 2) { From 2eeec7fe3ee07a839e19ff6135ba47ada9ec8aa9 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 17 Aug 2022 18:03:45 +0800 Subject: [PATCH 03/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E7=A6=81=E7=94=A8=E8=A1=8C=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=85=A8=E9=80=89=E6=8E=A7=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E5=8B=BE=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/gird/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/gird/main.js b/src/components/gird/main.js index d739ea73..86e7af24 100644 --- a/src/components/gird/main.js +++ b/src/components/gird/main.js @@ -176,9 +176,9 @@ export default class menu extends React.Component { this.setState({ allChecked: e.target.checked }) - + let tableData = _.map(this.state.tableData, (item) => { - return (item.checked = e.target.checked) + return (item.checked = e.target.checked&&!item.disabled) }) this.setState({ tableData: this.state.tableData From ff02de0c98c9f56fd9c11b6caed09f4186533493 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 18:04:52 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=20=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE=20=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E9=97=AE=E9=A2=98=E4=BB=A5=E5=8F=8A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/add/add.js | 61 ++++++++++++----------- src/pages/exchangecode/copyCode/index.jsx | 1 + 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index 019e968d..488af20e 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -30,7 +30,6 @@ import { uploadImg, getReseller, getAccessVerification, - keyApproval, getProductInfoSelect } from '../../../assets/api.js' import Productform from '../product/add' @@ -152,12 +151,13 @@ export default class acclist extends React.Component { this.setState({ pagetitle: '复制key' }) getReseller(req.reseller_id).then((res) => { handelResponse(res, (req, msg) => { - this.setState({ reseller: req }) this.setState({ - direct_reseller_id: req.direct_reseller_id + email_list: req.contact_email, + phone_list: req.contact_phone, + direct_reseller_id: req.direct_reseller_id, + reseller: req }) - this.setState({ phone_list: req.contact_phone }) - this.setState({ email_list: req.contact_email }) + this.getProductFunction(req.direct_reseller_id) }) }) @@ -259,13 +259,13 @@ export default class acclist extends React.Component { getReseller(id).then((res) => { handelResponse(res, (req, msg) => { - this.setState({ reseller: req }) - - this.setState({ phone_list: req.contact_phone }) - this.setState({ email_list: req.contact_email }) this.setState({ - direct_reseller_id: req.direct_reseller_id + reseller: req, + direct_reseller_id: req.direct_reseller_id, + email_list: req.contact_email, + phone_list: req.contact_phone }) + this.getProductFunction(req.direct_reseller_id) }) }) @@ -287,6 +287,16 @@ export default class acclist extends React.Component { this.setState({ paytype: e.target.value }) } + /* 获取商品列表 */ + getProductFunction(id) { + if (sessionStorage.getItem('productsList')) return + getProductInfoSelect({ reseller_id: id }).then((res) => { + if (res.code === 200) { + sessionStorage.setItem('productsList', JSON.stringify(res.data.data)) + } + }) + } + async submit() { let valide = false if (this.refs.form1.validator()) { @@ -421,26 +431,19 @@ export default class acclist extends React.Component { } else { this.setState({ product_title: '新增立减金', newGoldLoading: true }) } - let param = { - reseller_id: direct_reseller_ids - } try { - getProductInfoSelect(param).then((res) => { - if (res.code === 200) { - sessionStorage.setItem('productsList', JSON.stringify(res.data.data)) - this.setState({ productData: null }) - this.setState({ drawerVisible2: true }) - } - if (type === 'addProduct') { - this.setState({ - newGoodsBtnLoading: false - }) - } else { - this.setState({ - newGoldLoading: false - }) - } - }) + this.setState({ productData: null }) + this.setState({ drawerVisible2: true }) + + if (type === 'addProduct') { + this.setState({ + newGoodsBtnLoading: false + }) + } else { + this.setState({ + newGoldLoading: false + }) + } } catch (err) { if (type === 'addProduct') { this.setState({ diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index b4b0aa39..bb9ffb3f 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -132,6 +132,7 @@ export default class acclist extends React.Component { direct_reseller_id: req.direct_reseller_id }) + if (sessionStorage.getItem('productsList')) return /* 请求商品数据 */ getProductInfoSelect({ reseller_id: req.direct_reseller_id From 41719e0a85c0c47cd667d7e6816e6048dbffc885 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 18:18:32 +0800 Subject: [PATCH 05/12] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/add/add.js | 7 ++++++- src/pages/exchangecode/copyCode/index.jsx | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index 488af20e..8088d4f0 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -289,7 +289,12 @@ export default class acclist extends React.Component { /* 获取商品列表 */ getProductFunction(id) { - if (sessionStorage.getItem('productsList')) return + if ( + sessionStorage.getItem('productsList') && + JSON.parse(sessionStorage.getItem('productsList'))?.length > 1 + ) { + return + } getProductInfoSelect({ reseller_id: id }).then((res) => { if (res.code === 200) { sessionStorage.setItem('productsList', JSON.stringify(res.data.data)) diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index bb9ffb3f..b0569d74 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -132,7 +132,13 @@ export default class acclist extends React.Component { direct_reseller_id: req.direct_reseller_id }) - if (sessionStorage.getItem('productsList')) return + if ( + sessionStorage.getItem('productsList') && + JSON.parse(sessionStorage.getItem('productsList')).length > 1 + ) { + return + } + /* 请求商品数据 */ getProductInfoSelect({ reseller_id: req.direct_reseller_id From f630a8c639e46e5a004b998e32a0d36d8215b631 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 18:18:57 +0800 Subject: [PATCH 06/12] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/copyCode/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index b0569d74..2fab3751 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -134,7 +134,7 @@ export default class acclist extends React.Component { if ( sessionStorage.getItem('productsList') && - JSON.parse(sessionStorage.getItem('productsList')).length > 1 + JSON.parse(sessionStorage.getItem('productsList'))?.length > 1 ) { return } From 1d992c42ec6855b754697f0268775558667cfd2e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 18:39:23 +0800 Subject: [PATCH 07/12] =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/add/add.js | 6 ------ src/pages/exchangecode/copyCode/index.jsx | 8 -------- 2 files changed, 14 deletions(-) diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index 8088d4f0..378a261f 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -289,12 +289,6 @@ export default class acclist extends React.Component { /* 获取商品列表 */ getProductFunction(id) { - if ( - sessionStorage.getItem('productsList') && - JSON.parse(sessionStorage.getItem('productsList'))?.length > 1 - ) { - return - } getProductInfoSelect({ reseller_id: id }).then((res) => { if (res.code === 200) { sessionStorage.setItem('productsList', JSON.stringify(res.data.data)) diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index 2fab3751..03d3a589 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -131,14 +131,6 @@ export default class acclist extends React.Component { this.setState({ direct_reseller_id: req.direct_reseller_id }) - - if ( - sessionStorage.getItem('productsList') && - JSON.parse(sessionStorage.getItem('productsList'))?.length > 1 - ) { - return - } - /* 请求商品数据 */ getProductInfoSelect({ reseller_id: req.direct_reseller_id From 34d546459c20fbbaa03bea40cce83df475a0ead4 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 17 Aug 2022 20:49:05 +0800 Subject: [PATCH 08/12] =?UTF-8?q?=E8=90=A5=E9=94=80=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E4=B8=BA=E7=94=9F=E6=88=90=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=85=81=E8=AE=B8=E6=93=8D=E4=BD=9C=E7=BC=96=E8=BE=91?= =?UTF-8?q?/=E5=A4=8D=E5=88=B6/=E9=A2=84=E8=A7=88/=E4=BD=9C=E5=BA=9F/?= =?UTF-8?q?=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/list/list.js | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/pages/plan/list/list.js b/src/pages/plan/list/list.js index 5f249032..b68e8357 100644 --- a/src/pages/plan/list/list.js +++ b/src/pages/plan/list/list.js @@ -601,7 +601,7 @@ export default class acclist extends React.Component { // 预览 currPreview(rowData) { if ( - rowData.status === 0 || + rowData.status === 0 ||rowData.status === 1|| rowData.status === 2 || rowData.status === 8 || rowData.status === 6 || @@ -909,7 +909,7 @@ export default class acclist extends React.Component { if (com == "opearo") { return ( - {rowData.status == 6 ? ( + {rowData.status == 6||rowData.status == 1 ? ( 编辑 @@ -924,7 +924,7 @@ export default class acclist extends React.Component { )} - {rowData.status == 0 || + {rowData.status == 0 ||rowData.status == 1|| rowData.status == 2 || rowData.status == 7 ? ( -
+ + { + rowData.status==1?( +
更多
+ ):(
+ 更多 +
) + } {rowData.status == 6 ? ( @@ -984,11 +991,11 @@ export default class acclist extends React.Component { this.menuItemClick(e, key, rowData) } > - 发送密码及压缩包 + 发送密码及压缩包 日志 - + 作废 From ca7d3dc8d2bcbfd8f92b2b17e98a4aaa1f4b27a9 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 17 Aug 2022 21:15:57 +0800 Subject: [PATCH 09/12] =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=88=B8=E6=A8=A1=E6=9D=BF=E7=BC=96=E5=8F=B7=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 053b28c2..97ba9c6b 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -460,6 +460,8 @@ export default class addKnockGold extends Component { /* 是支付宝立减金 才进行模板赋值操作 */ if (transformData.channel == 1) { transformData.temp_no = this.state.model.temp_no + }else{ + transformData.temp_no ="" } transformData.batch_goods_name = this.state.model.batch_goods_name transformData.channel_activity_id = this.state.model.channel_activity_id //确认字段 From 0e7456b0495e06b1e5c56119a36f402dca07dfc6 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 21:26:45 +0800 Subject: [PATCH 10/12] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91=E7=94=9F=E6=95=88=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/list/list.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index 7f84b043..9948de0c 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -265,6 +265,10 @@ export default class acclist extends React.Component { ] } ] + sessionStorage.setItem( + 'knockGold_effectDate', + JSON.stringify(keyBatch.plan) + ) sessionStorage.setItem('pathname2', '/home/exchangecode-copyCode') sessionStorage.setItem('breaknav', JSON.stringify(breakchangenav)) this.props.history.push('/home/exchangecode-copyCode') From 855218556effe86f25b28a7b7fae910db74e5940 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 17 Aug 2022 21:28:35 +0800 Subject: [PATCH 11/12] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 97ba9c6b..f9142cd5 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -460,8 +460,8 @@ export default class addKnockGold extends Component { /* 是支付宝立减金 才进行模板赋值操作 */ if (transformData.channel == 1) { transformData.temp_no = this.state.model.temp_no - }else{ - transformData.temp_no ="" + } else { + transformData.temp_no = '' } transformData.batch_goods_name = this.state.model.batch_goods_name transformData.channel_activity_id = this.state.model.channel_activity_id //确认字段 From d7bc189aaacbd491c408e66acda7320daa84f786 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 17 Aug 2022 21:46:45 +0800 Subject: [PATCH 12/12] =?UTF-8?q?=E8=90=A5=E9=94=80=E7=B3=BB=E7=BB=9FV1=5F?= =?UTF-8?q?4=E7=89=88=E6=9C=AC=E9=94=81=E7=89=88=EF=BC=8C=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 19 ++++++++++--------- src/pages/login/loginform.js | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/assets/api.js b/src/assets/api.js index 92904dd0..f6499e68 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -1,6 +1,7 @@ import { Notify } from "zent"; -// export const baseurl = 'https://marketapi.1688sup.com' -const Version = "v1.3.0"; +//镜像环境 +// export const baseurl = 'http://pre.marketapi.1688sup.com' +// const Version = "v1.3.0"; // window.baseurl = 'http://pre.marketapi.1688sup.com' let baseurl = ""; if (process.env.NODE_ENV == "test" || process.env.NODE_ENV == "development") { @@ -18,7 +19,7 @@ const upload = (method, url, params, responseType) => { method: method, headers: new Headers({ authorization: sessionStorage.getItem("authorization"), - Version: Version, + // Version: Version, }), body: params, }; @@ -29,7 +30,7 @@ const upload = (method, url, params, responseType) => { switch (res.status) { // 401: 未登录 case 401: - res + res .json() .then((response) => { if (response.code == 403) { @@ -60,7 +61,7 @@ const derive = (method, url, params, responseType) => { responseType: "blob", headers: new Headers({ authorization: sessionStorage.getItem("authorization"), - Version: Version, + // Version: Version, }), }; if (method == "get") { @@ -116,7 +117,7 @@ const getData = (method, url, params, responseType) => { obj = { headers: new Headers({ authorization: sessionStorage.getItem("authorization"), - Version: Version, + // Version: Version, }), }; if (params) { @@ -176,7 +177,7 @@ const req = (method, url, params, responseType) => { obj = { headers: new Headers({ authorization: sessionStorage.getItem("authorization"), - Version: Version, + // Version: Version, }), }; if (params) { @@ -198,7 +199,7 @@ const req = (method, url, params, responseType) => { body: JSON.stringify(params), headers: new Headers({ "Content-Type": "application/json", - Version: Version, + // Version: Version, }), }; } @@ -210,7 +211,7 @@ const req = (method, url, params, responseType) => { headers: new Headers({ "Content-Type": "application/json", authorization: sessionStorage.getItem("authorization"), - Version: Version, + // Version: Version, }), }; } diff --git a/src/pages/login/loginform.js b/src/pages/login/loginform.js index 853f2600..0ce5a4b8 100644 --- a/src/pages/login/loginform.js +++ b/src/pages/login/loginform.js @@ -162,7 +162,7 @@ const getAccountList = () => { console.log(145, window.baseurl); const xhr = new XMLHttpRequest(); xhr.open("GET", window.baseurl + "/auth/login/verify"); - xhr.setRequestHeader("Version", "v1.3.0"); + // xhr.setRequestHeader("Version", "v1.3.0"); xhr.responseType = "arraybuffer"; xhr.onreadystatechange = function (response) { response.header = {