:display-render="displayRender"
<a-cascader
v-model:value="formData.fundingSource"
:options="fundingSourceCascader"
expand-trigger="hover"
multiple
placeholder="请选择"
:display-render="displayRender"
/>
// 处理资金来源
const displayRender = ({labels}) => {
if (!Array.isArray(labels)) {
console.error('labels is not an array:', labels);
return '';
}
return labels.filter(label => label != null).join(' / ');
};