jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/Picker/index.sjs
2024-11-15 11:51:28 +08:00

9 lines
214 B
JavaScript

function getPickerViewLabel(item) {
if (typeof item === 'object' && typeof item.label === 'string') {
return item.label || '';
}
return item;
}
export default {
getPickerViewLabel: getPickerViewLabel
};