mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
优化 List, 不让其报错
Change-Id: I168e2552a9f0b0aa0c65eff62f13c20f6a13a5b1
This commit is contained in:
parent
6678b34524
commit
d366d2ce99
@ -130,7 +130,7 @@ export default class ListControl extends React.Component<ListProps, any> {
|
||||
) : null,
|
||||
option[labelField || 'label'] ? (
|
||||
<div key="label" className={cx('ListControl-itemLabel')}>
|
||||
{option[labelField || 'label']}
|
||||
{String(option[labelField || 'label'])}
|
||||
</div>
|
||||
) : null
|
||||
// {/* {option.tip ? (<div className={`${ns}ListControl-tip`}>{option.tip}</div>) : null} */}
|
||||
|
Loading…
Reference in New Issue
Block a user