Update PickerColumn.tsx

This commit is contained in:
ls 2024-11-28 14:41:54 +08:00 committed by GitHub
parent 8c66608a8c
commit 7017f52c5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ const PickerColumn = forwardRef<{}, PickerColumnProps>((props, ref) => {
//@ts-ignore
return labelToString(option[labelField]);
}
return option;
return labelToString(option);
};
const getOptionValue = (option: [] | PickerOption) => {