mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
fix name
This commit is contained in:
parent
9c7de87dd2
commit
f7b576604a
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<q-page>
|
||||
<TotalComponent :tasks=tasks />
|
||||
<HistoryComponent :tasks=tasks />
|
||||
<TotalComponent :histories=histories />
|
||||
<HistoryComponent :histories=histories />
|
||||
</q-page>
|
||||
</template>
|
||||
|
||||
|
@ -20,10 +20,10 @@ interface Props {
|
|||
// Props の取得
|
||||
const props = defineProps<Props>();
|
||||
|
||||
const tasks = ref([] as HistoryItem[]);
|
||||
const histories = ref([] as HistoryItem[]);
|
||||
|
||||
getHistories(props.childId, true).then((res) => {
|
||||
tasks.value = res;
|
||||
histories.value = res;
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user