diff --git a/src/components/WalletComponent.vue b/src/components/WalletComponent.vue index 542ac0d..d7bb6ba 100644 --- a/src/components/WalletComponent.vue +++ b/src/components/WalletComponent.vue @@ -1,7 +1,7 @@ @@ -23,7 +23,13 @@ const props = defineProps(); const histories = ref([] as HistoryItem[]); -getHistories(props.childId, true).then((res) => { +const changeContainPaid = (value: boolean) => { + getHistories(props.childId, value).then((res) => { + histories.value = res; + }); +}; + +getHistories(props.childId, false).then((res) => { histories.value = res; });