From 0890de37714f0859caba92087bfd196a509fa003 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 30 Apr 2024 16:21:06 -0300 Subject: [PATCH] change prop name --- src/components/common/VnInputDate.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue index 72d9bb2bc..fe0866292 100644 --- a/src/components/common/VnInputDate.vue +++ b/src/components/common/VnInputDate.vue @@ -15,7 +15,7 @@ const props = defineProps({ type: Boolean, default: false, }, - emitDate: { + emitDateFormat: { type: Boolean, default: false, }, @@ -43,7 +43,7 @@ const value = computed({ set(value) { emit( 'update:modelValue', - props.emitDate ? new Date(value) : joinDateAndTime(value, time.value) + props.emitDateFormat ? new Date(value) : joinDateAndTime(value, time.value) ); }, });