From 404e732ec5043c3c21304dbd3b9b7a4e2451e855 Mon Sep 17 00:00:00 2001 From: Marvin Gui <63292605+yi-boide@users.noreply.github.com> Date: Wed, 25 Oct 2023 14:05:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(picker):=20=E4=BF=AE=E5=A4=8D=20columns=20?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=97=B6=E4=B8=8D=E8=A7=A6=E5=8F=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98=20(#2590)=20(#2611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/__VUE/picker/usePicker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/__VUE/picker/usePicker.ts b/src/packages/__VUE/picker/usePicker.ts index 5b6f7e5bf6..038ee47f6f 100644 --- a/src/packages/__VUE/picker/usePicker.ts +++ b/src/packages/__VUE/picker/usePicker.ts @@ -183,7 +183,7 @@ export const usePicker = (props: any, emit: any) => { watch( () => props.columns, (val) => { - if (val.length) state.formattedColumns = val as PickerOption[]; + state.formattedColumns = val as PickerOption[]; } );