diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue index 8167bac0b..0b4e72cb8 100644 --- a/src/components/common/VnInputTime.vue +++ b/src/components/common/VnInputTime.vue @@ -49,7 +49,7 @@ const formattedTime = computed({ time = time.substring(0, 2) + ':' + time.substring(3, 5); } if (!props.timeOnly) { - let [hh, mm] = time.split(':'); + const [hh, mm] = time.split(':'); const date = new Date(model.value ? model.value : initialDate.value); date.setHours(hh, mm, 0);