mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-14 06:22:10 +08:00
fix:修复[时间选择器无法获取实际所选时间范围]Bug
This commit is contained in:
parent
dfe97bf5d5
commit
e46dfba116
@ -39,8 +39,8 @@ const onChange = (v: number | number[]) => {
|
|||||||
props.chartConfig,
|
props.chartConfig,
|
||||||
useChartEditStore,
|
useChartEditStore,
|
||||||
{
|
{
|
||||||
[ComponentInteractParamsEnum.DATE_START]: v[0] | dayjs().valueOf(),
|
[ComponentInteractParamsEnum.DATE_START]: v[0],
|
||||||
[ComponentInteractParamsEnum.DATE_END]: v[1] | dayjs().valueOf(),
|
[ComponentInteractParamsEnum.DATE_END]: v[1],
|
||||||
[ComponentInteractParamsEnum.DATE_RANGE]: `${v[0]}-${v[1]}`
|
[ComponentInteractParamsEnum.DATE_RANGE]: `${v[0]}-${v[1]}`
|
||||||
},
|
},
|
||||||
InteractEventOn.CHANGE
|
InteractEventOn.CHANGE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user