fix: init sendToList

This commit is contained in:
Vlad Stan 2022-07-26 11:08:10 +03:00
parent 5638bca2d7
commit c76644c561
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ async function payment(path) {
data: function () {
return {
paymentTab: 'destination',
sendToList: [],
sendToList: [{address: '', amount: undefined}],
changeWallet: null,
changeAddress: {},
changeAmount: 0,

View File

@ -12,7 +12,7 @@ async function sendTo(path) {
return this.data
},
set: function (value) {
console.log('### computed update data')
console.log('### computed update data', value)
this.$emit('update:data', value)
}
}
@ -64,7 +64,7 @@ async function sendTo(path) {
},
created: async function () {
this.dataLocal = [{address: '', amount: undefined}]
}
})
}

View File

@ -73,7 +73,7 @@
<q-tabs v-model="tab" no-caps class="bg-dark text-white shadow-2">
<q-tab name="addresses" label="Addresses"></q-tab>
<q-tab name="history" label="History"></q-tab>
<q-tab name="utxos" label="Coins"></q-tab>
<q-tab name="utxos" label="UTXOs"></q-tab>
</q-tabs>
<q-tab-panels v-model="tab">
<q-tab-panel name="addresses">