Skip to content

Commit

Permalink
fix(picker): 修复 columns 为空时不触发更新的问题 (#2590) (#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-boide authored Oct 25, 2023
1 parent 0df0f76 commit 404e732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/__VUE/picker/usePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}
);

Expand Down

0 comments on commit 404e732

Please sign in to comment.