refactor: 101125/remove_mock_data
This commit is contained in:
parent
d9e7ffde26
commit
57ea476e13
@ -11,15 +11,7 @@ const neptuneStore = useNeptuneStore()
|
|||||||
|
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
|
|
||||||
const utxosList = computed(() => [
|
const utxosList = computed(() => (neptuneStore.getUtxos?.length ? neptuneStore.getUtxos : []))
|
||||||
...(neptuneStore.getUtxos || []),
|
|
||||||
...Array.from({ length: 18 }, (_, i) => ({
|
|
||||||
additionRecord: `additionRecord${i}`,
|
|
||||||
amount: `${i}.00000000`,
|
|
||||||
blockHeight: `blockHeight${i}`,
|
|
||||||
utxoHash: `utxoHash${i}`,
|
|
||||||
})),
|
|
||||||
])
|
|
||||||
|
|
||||||
const inUseUtxosCount = computed(() => (utxosList.value?.length ? utxosList.value.length : 0))
|
const inUseUtxosCount = computed(() => (utxosList.value?.length ? utxosList.value.length : 0))
|
||||||
const inUseUtxosAmount = computed(() => {
|
const inUseUtxosAmount = computed(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user