mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
fix: grid schema (#4157)
This commit is contained in:
parent
205984b812
commit
343b97de14
@ -439,16 +439,7 @@ Grid.Row = observer(
|
|||||||
{cols.map((schema, index) => {
|
{cols.map((schema, index) => {
|
||||||
return (
|
return (
|
||||||
<React.Fragment key={index}>
|
<React.Fragment key={index}>
|
||||||
<MemorizedRecursionField
|
<MemorizedRecursionField name={schema.name} schema={schema} />
|
||||||
name={schema.name}
|
|
||||||
schema={schema}
|
|
||||||
mapProperties={(schema) => {
|
|
||||||
if (type === 'update') {
|
|
||||||
schema.default = null;
|
|
||||||
}
|
|
||||||
return schema;
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{showDivider && (
|
{showDivider && (
|
||||||
<ColDivider
|
<ColDivider
|
||||||
cols={cols}
|
cols={cols}
|
||||||
|
Loading…
Reference in New Issue
Block a user