mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
e5de6b0c89
@ -380,6 +380,7 @@ export const useFormItemInitializerFields = (options?: any) => {
|
||||
const action = fieldSchema?.['x-action'];
|
||||
|
||||
return currentFields
|
||||
.filter((v) => v.collectionName === name)
|
||||
?.filter((field) => field?.interface && !field?.treeChildren)
|
||||
?.map((field) => {
|
||||
const interfaceConfig = getInterface(field.interface);
|
||||
@ -447,6 +448,7 @@ export const useFilterFormItemInitializerFields = (options?: any) => {
|
||||
const action = fieldSchema?.['x-action'];
|
||||
|
||||
return currentFields
|
||||
.filter((v) => v.collectionName === name)
|
||||
?.filter((field) => field?.interface && getInterface(field.interface)?.filterable)
|
||||
?.map((field) => {
|
||||
const interfaceConfig = getInterface(field.interface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user