From bcc46d1d5db761c45a1c6dee60e94fbaa6be556e Mon Sep 17 00:00:00 2001 From: H1mple <35363759+baohangxing@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:28:29 +0800 Subject: [PATCH] fix: type of minute in props disabledDateTime of DatePicker (#6233) --- components/vc-picker/panels/TimePanel/TimeBody.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-picker/panels/TimePanel/TimeBody.tsx b/components/vc-picker/panels/TimePanel/TimeBody.tsx index 363e944e8..905a297d4 100644 --- a/components/vc-picker/panels/TimePanel/TimeBody.tsx +++ b/components/vc-picker/panels/TimePanel/TimeBody.tsx @@ -190,7 +190,7 @@ const TimeBody = defineComponent({ 0, 59, props.secondStep ?? 1, - mergedDisabledSeconds.value && mergedDisabledSeconds.value(originHour.value, minute), + mergedDisabledSeconds.value && mergedDisabledSeconds.value(originHour.value, minute.value), ), );