fix: init sendToList
This commit is contained in:
parent
5638bca2d7
commit
c76644c561
|
@ -10,7 +10,7 @@ async function payment(path) {
|
|||
data: function () {
|
||||
return {
|
||||
paymentTab: 'destination',
|
||||
sendToList: [],
|
||||
sendToList: [{address: '', amount: undefined}],
|
||||
changeWallet: null,
|
||||
changeAddress: {},
|
||||
changeAmount: 0,
|
||||
|
|
|
@ -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}]
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user