9 lines
186 B
JavaScript
9 lines
186 B
JavaScript
function getPickerViewLabel(item) {
|
|
if (typeof item === 'object' && typeof item.label === 'string') return item.label || ''
|
|
return item
|
|
}
|
|
|
|
export default {
|
|
getPickerViewLabel,
|
|
}
|