mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
chore: 修复 status 组件 key 报错 (#3156)
This commit is contained in:
parent
eac8e7e533
commit
9bf6f948be
@ -92,7 +92,9 @@ export class StatusField extends React.Component<StatusProps, object> {
|
||||
} = this.props;
|
||||
let value = getPropValue(this.props);
|
||||
let viewValue: React.ReactNode = (
|
||||
<span className="text-muted">{placeholder}</span>
|
||||
<span className="text-muted" key="status-value">
|
||||
{placeholder}
|
||||
</span>
|
||||
);
|
||||
let wrapClassName: string = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user