From 69da428a511143391bc6da35414dd955817ca233 Mon Sep 17 00:00:00 2001 From: "xing.org1^" Date: Fri, 21 Apr 2023 11:14:34 +0800 Subject: [PATCH] fix(RangePicker): syntax errors (#6469) --- components/vc-picker/RangePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-picker/RangePicker.tsx b/components/vc-picker/RangePicker.tsx index 4f8b11cc0..eba715fde 100644 --- a/components/vc-picker/RangePicker.tsx +++ b/components/vc-picker/RangePicker.tsx @@ -315,7 +315,7 @@ function RangerPicker() { // Fill disabled unit for (let i = 0; i < 2; i += 1) { - if (mergedDisabled[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) { + if (mergedDisabled.value[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) { postValues = updateValues(postValues, props.generateConfig.getNow(), i); } }