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