fix: 设置intag时,label 为对象时渲染异常

This commit is contained in:
hezhihang 2024-09-18 16:35:57 +08:00 committed by lmaomaoz
parent 08bf3af7b2
commit e0460bf080

View File

@ -91,7 +91,7 @@ function getLabel(
}`;
}
return item[labelField] || `选项${index}`;
return labelToString(item[labelField]) || `选项${index}`;
}
export class WordsField extends React.Component<WordsProps, object> {