2024-11-10 07:01:22 +00:00
|
|
|
function getPickerViewLabel(item) {
|
2024-12-01 11:56:54 +00:00
|
|
|
if (typeof item === 'object' && typeof item.label === 'string') {
|
|
|
|
return item.label || '';
|
|
|
|
}
|
|
|
|
return item;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
export default {
|
2024-12-01 11:56:54 +00:00
|
|
|
getPickerViewLabel: getPickerViewLabel
|
|
|
|
};
|