This commit is contained in:
rca 2024-07-19 02:14:35 +09:00
parent 9cfb962ae6
commit 2bdcd22483

View File

@ -13,14 +13,10 @@
</template>
<script setup>
import { ref } from 'vue';
import { getTaskList } from 'src/api/apiService';
const tasks = ref([
{ id: 1, name: '風呂掃除', price: 100 },
{ id: 2, name: '玄関掃除', price: 100 },
{ id: 3, name: 'ゴミ出し', price: 100 },
//
]);
// get and set tasks
const tasks = await getTaskList();
const completeTask = (task) => {
//