チェックボックス追加 WIP

This commit is contained in:
rca 2024-07-22 05:52:21 +09:00
parent 25934f5a28
commit 8b1e5ad87f

View File

@ -1,6 +1,7 @@
<template>
<div class="text-h6">
過去のお手伝い
<div class="text-h6" style="display: flex; justify-content: space-between; align-items: center;">
<span>過去のお手伝い</span>
<q-checkbox v-model="allChecked"></q-checkbox>
</div>
<q-list padding>
<q-item v-for="(history, index) in props.histories" :key="index" clickable>
@ -19,6 +20,7 @@
<script setup lang="ts">
import { HistoryItem } from 'src/models/internal';
import { ref } from 'vue';
interface Props {
histories: HistoryItem[];
@ -27,6 +29,8 @@ interface Props {
// Props
const props = defineProps<Props>();
const allChecked = ref(false);
</script>
<style scoped>