wrapperに分割するように WIP

This commit is contained in:
rca 2024-07-22 05:36:44 +09:00
parent 47d7f4ed10
commit 77f72f3531
2 changed files with 34 additions and 19 deletions

View File

@ -1,6 +1,4 @@
<template>
<q-card class="q-ma-md">
<q-card-section>
<div class="text-h6">
過去のお手伝い
</div>
@ -15,8 +13,6 @@
</q-item-section>
</q-item>
</q-list>
</q-card-section>
</q-card>
</template>
<script setup lang="ts">
@ -34,4 +30,3 @@ const props = defineProps<Props>();
<style scoped>
/* 必要に応じてスタイルを追加 */
</style>

View File

@ -0,0 +1,20 @@
<template>
<QCard class="q-ma-md">
<QCardSection>
<HistoryComponent :histories=props.histories />
</QCardSection>
</QCard>
</template>
<script setup lang="ts">
import HistoryComponent from 'src/components/HistoryComponent.vue';
import { HistoryItem } from 'src/models/internal';
interface Props {
histories: HistoryItem[];
}
const props = defineProps<Props>();
</script>