From 741204dbf3dc7715455eea3d65c6e88f80145fd9 Mon Sep 17 00:00:00 2001 From: vee <897831508@qq.com> Date: Mon, 6 Dec 2021 19:58:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E9=A2=9D=E6=9B=B4=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- utils/WalletUtil.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 23f9432..cc19238 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "BitCooo", "appid" : "__UNI__1ECBEE1", "description" : "", - "versionName" : "1.1.4", - "versionCode" : 114, + "versionName" : "1.1.5", + "versionCode" : 115, "transformPx" : false, "networkTimeout" : { "request" : 10000 //多长时间算超时(单位毫秒) diff --git a/utils/WalletUtil.js b/utils/WalletUtil.js index 1fcbb55..9f0b686 100644 --- a/utils/WalletUtil.js +++ b/utils/WalletUtil.js @@ -275,6 +275,9 @@ let WalletUtil = { newList.push(wallet.coinList[1]) newList[0].tokenType = "trc10" newList[0].contractAddress='_'; + newList[1].balance = 0; + newList[1].balanceCnyPrice = 0; + newList[1].balancePrice = 0; for (let i = 0; i < tronCoin.data.length; i++) { if (tronCoin.data[i].tokenAbbr === 'trx') { wallet.balance =(Number(tronCoin.data[i].balance) / Math.pow(10, tronCoin