|
@ -99,7 +99,7 @@ |
|
|
this.userObj=uni.getStorageSync('wallet'); |
|
|
this.userObj=uni.getStorageSync('wallet'); |
|
|
this.userObj2=uni.getStorageSync('wallet'); |
|
|
this.userObj2=uni.getStorageSync('wallet'); |
|
|
|
|
|
|
|
|
let thar=this |
|
|
|
|
|
this.updateData(); |
|
|
this.updateData(); |
|
|
this.userObj.address = this.userObj.address.substring(0, 6)+'...'+this.userObj.address.substring(25,this.userObj.address.length); |
|
|
this.userObj.address = this.userObj.address.substring(0, 6)+'...'+this.userObj.address.substring(25,this.userObj.address.length); |
|
|
} |
|
|
} |
|
@ -112,9 +112,12 @@ |
|
|
setTimeout( |
|
|
setTimeout( |
|
|
function(){ |
|
|
function(){ |
|
|
|
|
|
|
|
|
thar.userObj=uni.getStorageSync('wallet');thar.userObj2=uni.getStorageSync('wallet'); |
|
|
thar.userObj=uni.getStorageSync('wallet'); |
|
|
thar.userObj.address = thar.userObj.ellipsisAddress},1000); |
|
|
thar.userObj2=uni.getStorageSync('wallet'); |
|
|
thar.updateData() |
|
|
thar.userObj.address = thar.userObj.ellipsisAddress; |
|
|
|
|
|
thar.updateData(); |
|
|
|
|
|
},200); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
goOther(){ |
|
|
goOther(){ |
|
|
console.log(this.userObj2,8888) |
|
|
console.log(this.userObj2,8888) |
|
|