From 922b1b4b56dba65722da94a9d623dba135892c7e Mon Sep 17 00:00:00 2001 From: Zyf665 <1246271707@qq.com> Date: Tue, 26 Nov 2024 15:22:27 +0800 Subject: [PATCH] fix:returns wrong dates onChange when manually change date time without pressing OK button --- src/utils/miscUtil.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/miscUtil.ts b/src/utils/miscUtil.ts index 463ccc0a5..e2d5efef9 100644 --- a/src/utils/miscUtil.ts +++ b/src/utils/miscUtil.ts @@ -26,12 +26,6 @@ export function fillIndex(ori: T, index: number, value: T[numbe return clone; } -export function fillRangeValues(ori: T, start: T[number], end: T[number]): T { - const clone = [...ori] as T; - [clone[0], clone[1]] = [start, end]; - - return clone; -} /** Pick props from the key list. Will filter empty value */ export function pickProps(props: T, keys?: (keyof T)[] | readonly (keyof T)[]) { const clone = {} as T;