mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 15:39:24 +08:00
refactor: collection edit can not config fields
This commit is contained in:
parent
a7977cb23f
commit
9f16eae936
@ -80,6 +80,7 @@ export const view: ICollectionTemplate = {
|
|||||||
fields: {
|
fields: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
'x-component': PreviewFields,
|
'x-component': PreviewFields,
|
||||||
|
'x-visible': '{{ createOnly }}',
|
||||||
'x-reactions': {
|
'x-reactions': {
|
||||||
dependencies: ['name'],
|
dependencies: ['name'],
|
||||||
fulfill: {
|
fulfill: {
|
||||||
@ -91,6 +92,7 @@ export const view: ICollectionTemplate = {
|
|||||||
},
|
},
|
||||||
preview: {
|
preview: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
'x-visible': '{{ createOnly }}',
|
||||||
'x-component': PreviewTable,
|
'x-component': PreviewTable,
|
||||||
'x-reactions': {
|
'x-reactions': {
|
||||||
dependencies: ['name','fields'],
|
dependencies: ['name','fields'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user