From d47ea34dd920bab52fc1ffc3df9eed193c623a14 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 14 Nov 2023 18:01:22 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=82?= =?UTF-8?q?=E0=B8=99=E0=B8=B2=E0=B8=94=20popup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormTime.vue | 12 +++++++----- src/components/PopUp.vue | 4 ++-- src/components/ToolBar.vue | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/FormTime.vue b/src/components/FormTime.vue index 0f441b8..d77ef68 100644 --- a/src/components/FormTime.vue +++ b/src/components/FormTime.vue @@ -23,7 +23,7 @@ const props = defineProps({ }, }) -const dataById = ref([]) +const dataByIdVal = ref([]) const date = ref(null) const checkboxIn = ref(false) const checkboxOut = ref(false) @@ -32,8 +32,8 @@ const statusAction = ref(false) onMounted(() => { updateClock() - dataById.value = props.dataById - if (dataById.value == null) { + dataByIdVal.value = props.dataById + if (dataByIdVal.value == null) { statusAction.value = true } }) @@ -159,7 +159,7 @@ watch(
-
{{ covertDateObject(dataById.date) }}
+
{{ covertDateObject(dataByIdVal.date) }}
@@ -191,6 +191,7 @@ watch( +
กรุณาเลือก
+ { })