mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:29:16 +00:00
fix: view collection json field rendering error (#3077)
This commit is contained in:
parent
e2ed6be305
commit
78bd78ca3d
@ -70,7 +70,7 @@ export const PreviewTable = (props) => {
|
|||||||
'x-component': schema && fieldSource ? 'CollectionField' : 'Input',
|
'x-component': schema && fieldSource ? 'CollectionField' : 'Input',
|
||||||
'x-read-pretty': true,
|
'x-read-pretty': true,
|
||||||
'x-collection-field': fieldSource?.join('.'),
|
'x-collection-field': fieldSource?.join('.'),
|
||||||
default: content,
|
default: JSON.stringify(content),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user