Skip to content

Commit

Permalink
feat(picker): 去除columns有值才触发watch监听(jdf2e#2590)
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-boide committed Oct 23, 2023
1 parent ecc0288 commit 9dc6470
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 9dc6470

Please sign in to comment.