From ec48bded2369bb5e8638a4e59c398a134adf6668 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Sat, 12 Mar 2022 16:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/serve/index.js | 9 +++++---- pages/assets/draw.vue | 12 ++++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/api/serve/index.js b/api/serve/index.js index 9fe4518..5161d6a 100755 --- a/api/serve/index.js +++ b/api/serve/index.js @@ -82,10 +82,11 @@ x.fn = x.prototype = { return new Promise((resolve, reject) => { let reg=new RegExp('/','g')//g代表全部 let newMsg=options.url.replace(reg,'_'); + // console.info(newMsg) if(Cache.get(newMsg).data){ - if(newMsg!='_user_walletImage'){ - resolve(Cache.get(newMsg).data); - } + if(newMsg!='_user_walletImage' && newMsg!='_user_withdrawalBalance'){ + resolve(Cache.get(newMsg).data); + } uni.request({ url: this.url, data: this.data, @@ -94,7 +95,7 @@ x.fn = x.prototype = { dataType: this.dataType, sslVerify: false, success: (res) => { - // console.info(res) + // console.info(res) let message = res.data.message let code = res.data.code if (code != 200) { diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue index 0804775..0af3e19 100755 --- a/pages/assets/draw.vue +++ b/pages/assets/draw.vue @@ -84,7 +84,8 @@ - + + @@ -197,8 +198,8 @@ export default { withdrawFee: {}, list: [], page: 1, - loadMore: true, - secondaryShow:false + loadMore: true, + secondaryShow:false }; }, computed: { @@ -215,7 +216,9 @@ export default { this.form.address = ""; if (this.coin != "USDT") { this.rechargeType = 1; - } + }else{ + this.rechargeType = 3; + } this.withdrawalBalance(); } }, @@ -251,6 +254,7 @@ export default { address_type:this.rechargeType }; Wallet.withdrawalBalance(data).then((res) => { + // console.info(res) this.withdrawFee = res.data; }); },