const getLabels = (item) => { const { departments = [] } = item; return departments.map(v => v.name) .join('、'); }; export default { getLabels, };