diff --git a/src/packages/components/Informations/Inputs/InputsDate/index.vue b/src/packages/components/Informations/Inputs/InputsDate/index.vue index 506d03a8..b9e0caa8 100644 --- a/src/packages/components/Informations/Inputs/InputsDate/index.vue +++ b/src/packages/components/Informations/Inputs/InputsDate/index.vue @@ -39,8 +39,8 @@ const onChange = (v: number | number[]) => { props.chartConfig, useChartEditStore, { - [ComponentInteractParamsEnum.DATE_START]: v[0] | dayjs().valueOf(), - [ComponentInteractParamsEnum.DATE_END]: v[1] | dayjs().valueOf(), + [ComponentInteractParamsEnum.DATE_START]: v[0], + [ComponentInteractParamsEnum.DATE_END]: v[1], [ComponentInteractParamsEnum.DATE_RANGE]: `${v[0]}-${v[1]}` }, InteractEventOn.CHANGE