mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: formBlockProvider block display (#3877)
This commit is contained in:
parent
6d0d21ede2
commit
eb9b19ddcf
@ -106,8 +106,9 @@ export const FormBlockProvider = withDynamicSchemaProps((props) => {
|
||||
}
|
||||
}
|
||||
const createFlag =
|
||||
(currentCollection.name === (collection?.name || collection) && !isDetailBlock) || !currentCollection.name;
|
||||
|
||||
(currentCollection.name === (collection?.name || collection) && !isDetailBlock) ||
|
||||
!currentCollection.name ||
|
||||
!collection;
|
||||
if (!detailFlag && !createFlag && !isCusomeizeCreate) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user