diff --git a/core/core-frontend/pom.xml b/core/core-frontend/pom.xml index 302a387805..4bb88670f4 100644 --- a/core/core-frontend/pom.xml +++ b/core/core-frontend/pom.xml @@ -49,7 +49,7 @@ --> - + npm run build diff --git a/core/core-frontend/src/custom-component/v-query/DynamicTimeRange.vue b/core/core-frontend/src/custom-component/v-query/DynamicTimeRange.vue index e41738bc83..1c30ea34a3 100644 --- a/core/core-frontend/src/custom-component/v-query/DynamicTimeRange.vue +++ b/core/core-frontend/src/custom-component/v-query/DynamicTimeRange.vue @@ -45,8 +45,6 @@ const props = defineProps({ } }) const selectValue = ref<[Date, Date]>([new Date(), new Date()]) -const rendering = ref(true) - const { config } = toRefs(props) const timeConfig = computed(() => { @@ -81,11 +79,7 @@ const timeConfig = computed(() => { watch( () => timeConfig.value, () => { - rendering.value = false - nextTick(() => { - init() - rendering.value = true - }) + init() }, { deep: true @@ -103,11 +97,7 @@ watch( watch( () => config.value.id, () => { - rendering.value = false - nextTick(() => { - init() - rendering.value = true - }) + init() } ) @@ -164,7 +154,6 @@ const formatDate = computed(() => {