From c0c94ff924bdd94d5301243cbc9f14286d30bdeb Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 27 Mar 2024 13:09:10 +0100 Subject: [PATCH 01/68] refs #6111 fix qtable, actions, scroll --- src/components/common/VnInputTime.vue | 11 +++-------- src/css/app.scss | 15 ++++++++------- src/pages/Route/RouteList.vue | 26 +++++++++++++++++++++++--- src/pages/Route/RouteMain.vue | 2 ++ 4 files changed, 36 insertions(+), 18 deletions(-) diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue index aefee1a4d..6b0c99743 100644 --- a/src/components/common/VnInputTime.vue +++ b/src/components/common/VnInputTime.vue @@ -2,7 +2,7 @@ import { computed, ref } from 'vue'; import { useI18n } from 'vue-i18n'; import isValidDate from 'filters/isValidDate'; -import VnInput from "components/common/VnInput.vue"; +import VnInput from 'components/common/VnInput.vue'; const props = defineProps({ modelValue: { @@ -27,12 +27,7 @@ const value = computed({ set(value) { const [hours, minutes] = value.split(':'); const date = new Date(props.modelValue); - date.setHours( - Number.parseInt(hours) || 0, - Number.parseInt(minutes) || 0, - 0, - 0 - ); + date.setHours(Number.parseInt(hours) || 0, Number.parseInt(minutes) || 0, 0, 0); emit('update:modelValue', value ? date.toISOString() : null); }, }); @@ -79,7 +74,7 @@ const styleAttrs = computed(() => { @click="isPopupOpen = true" >