},
computed: {
address: function(){
- if(this.netType === 'vapor'){
- return this.currentAccount.vpAddress
- }else{
- return this.currentAccount.address
- }
+ return this.currentAddress
+ // if(this.netType === 'vapor'){
+ // return this.currentAccount.vpAddress
+ // }else{
+ // return this.currentAccount.address
+ // }
},
...mapState([
'bytom',
...mapGetters([
'language',
'currentAccount',
+ 'currentAddress',
'currency',
'netType',
'net'