mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
Merge branch 'fix/windlike-patch' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch
This commit is contained in:
commit
62a7932a37
@ -45,7 +45,7 @@ export const ArrayTable: React.FC<Props> = props => {
|
||||
<Th width="24px" />
|
||||
{keys.map((key: string) => {
|
||||
const propertySpec = itemSpec.properties?.[key];
|
||||
const title = isJSONSchema(propertySpec) ? propertySpec.title : key;
|
||||
const title = isJSONSchema(propertySpec) ? (propertySpec.title || key) : key;
|
||||
|
||||
return <Th key={key}>{title}</Th>;
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user