From 06efb5c8284ce72e13ff6c7ffb2b93ab3b693f7d Mon Sep 17 00:00:00 2001 From: Ben Borla Date: Mon, 20 Nov 2023 18:44:56 +0800 Subject: [PATCH] chore: updates on components --- app/src/views/Form.vue | 27 +++++++++++++++++---------- app/src/views/Home.vue | 7 ++++--- app/src/views/View.vue | 24 +++++++++++++++++------- 3 files changed, 38 insertions(+), 20 deletions(-) diff --git a/app/src/views/Form.vue b/app/src/views/Form.vue index 0851d30..906a2c1 100644 --- a/app/src/views/Form.vue +++ b/app/src/views/Form.vue @@ -53,15 +53,22 @@ v-model="fruit.calories"> - - Create - - - - Update - +
+ « Back +
+
+ + Create + + + Update + +
+
@@ -94,7 +101,7 @@ export default defineComponent({ sugar: 0, calories: 0 } as Fruit, - message: '' as string|object, + message: '' as string | object, isSuccessful: true, submitted: false, } diff --git a/app/src/views/Home.vue b/app/src/views/Home.vue index 8290dc3..bb0260b 100644 --- a/app/src/views/Home.vue +++ b/app/src/views/Home.vue @@ -98,16 +98,17 @@ -