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,
showMoney2: false,
btcBalance: 0,
isStop:false
}
},
onUnload: function() {
this.isStop = true
},
onLoad() {
//
this.userObj = uni.getStorageSync('wallet');
@ -122,11 +125,14 @@
thar.userObj = uni.getStorageSync('wallet');
thar.userObj2 = uni.getStorageSync('wallet');
// 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.$walletUtil.updateBalance();
thar.updateData();
}, 0);
if (!thar.isStop) {
thar.updateData()
}
}, 2000);
},
goOther() {

Loading…
Cancel
Save