mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 设置intag时,label 为对象时渲染异常
This commit is contained in:
parent
08bf3af7b2
commit
e0460bf080
@ -91,7 +91,7 @@ function getLabel(
|
||||
}`;
|
||||
}
|
||||
|
||||
return item[labelField] || `选项${index}`;
|
||||
return labelToString(item[labelField]) || `选项${index}`;
|
||||
}
|
||||
|
||||
export class WordsField extends React.Component<WordsProps, object> {
|
||||
|
Loading…
Reference in New Issue
Block a user