From 6d6331cae2eb87ad406d93a0c7270de38d5c4aa7 Mon Sep 17 00:00:00 2001 From: xiamiao Date: Tue, 16 Apr 2024 19:27:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(checkselect):=E4=BF=AE=E5=A4=8DonClear?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=90=8E=E6=B2=A1=E8=A7=A6=E5=8F=91(#2793)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/check-select/src/CheckSelect.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/check-select/src/CheckSelect.tsx b/packages/ui/check-select/src/CheckSelect.tsx index 719bdbe86..3fcd1cfc2 100644 --- a/packages/ui/check-select/src/CheckSelect.tsx +++ b/packages/ui/check-select/src/CheckSelect.tsx @@ -61,6 +61,7 @@ export const CheckSelect = forwardRef( visible, onOpen, onClose, + onClear, // picker appearance, invalid, @@ -316,6 +317,7 @@ export const CheckSelect = forwardRef( value={value} // @ts-ignore onChange={tryChangeValue} + onClear={onClear} data={mergedData} invalid={invalid} onClick={(evt) => {