Browse Source

修改

master
vee 4 years ago
parent
commit
45c2066c72
  1. 14
      pages/menu/wallet/index.vue

14
pages/menu/wallet/index.vue

@ -97,9 +97,12 @@
showMoney1: true, showMoney1: true,
showMoney2: false, showMoney2: false,
btcBalance: 0, btcBalance: 0,
isStop:false
} }
}, },
onUnload: function() {
this.isStop = true
},
onLoad() { onLoad() {
// //
this.userObj = uni.getStorageSync('wallet'); this.userObj = uni.getStorageSync('wallet');
@ -122,11 +125,14 @@
thar.userObj = uni.getStorageSync('wallet'); thar.userObj = uni.getStorageSync('wallet');
thar.userObj2 = uni.getStorageSync('wallet'); thar.userObj2 = uni.getStorageSync('wallet');
// thar.userObj.address = thar.userObj.ellipsisAddress; // thar.userObj.address = thar.userObj.ellipsisAddress;
thar.userObj.address =thar.userObj.address.substring(0, 6) + '...' + thar.userObj.address.substring(25, thar.userObj.address = thar.userObj.address.substring(0, 6) + '...' + thar.userObj.address
.substring(25,
thar.userObj.address.length); thar.userObj.address.length);
thar.$walletUtil.updateBalance(); thar.$walletUtil.updateBalance();
thar.updateData(); if (!thar.isStop) {
}, 0); thar.updateData()
}
}, 2000);
}, },
goOther() { goOther() {

Loading…
Cancel
Save