first version of meal plan diaglo

This commit is contained in:
vabene1111
2024-03-29 20:08:48 +01:00
parent dcf7d44d72
commit cb98b6723f
8 changed files with 1916 additions and 42 deletions

View File

@@ -1,8 +1,7 @@
<template>
<v-container>
</v-container>
<v-container>
<v-btn @click="testApi">Test API</v-btn>
</v-container>
</template>
@@ -27,6 +26,16 @@ export default defineComponent({
mounted() {
},
methods: {
testApi: function () {
const api = new ApiApi()
api.apiMealPlanList().then(r => {
if (r.length > 0) {
api.apiMealPlanUpdate({id: r[0].id, mealPlan: r[0]})
}
})
}
}
})
</script>