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: {
|
||||
type: 'array',
|
||||
'x-component': PreviewFields,
|
||||
'x-visible': '{{ createOnly }}',
|
||||
'x-reactions': {
|
||||
dependencies: ['name'],
|
||||
fulfill: {
|
||||
@ -91,6 +92,7 @@ export const view: ICollectionTemplate = {
|
||||
},
|
||||
preview: {
|
||||
type: 'object',
|
||||
'x-visible': '{{ createOnly }}',
|
||||
'x-component': PreviewTable,
|
||||
'x-reactions': {
|
||||
dependencies: ['name','fields'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user