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