mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
dfbdb2f1c8
@ -244,7 +244,7 @@ export const PagePopups = (props: { paramsList?: PopupParams[] }) => {
|
||||
const waitList = popupParams.map((params) => {
|
||||
return (
|
||||
getStoredPopupContext(params.popupuid)?.schema ||
|
||||
findSchemaByUid(params.popupuid, fieldSchema.root) ||
|
||||
findSchemaByUid(params.popupuid, fieldSchema?.root) ||
|
||||
requestSchema(params.popupuid)
|
||||
);
|
||||
});
|
||||
@ -257,7 +257,7 @@ export const PagePopups = (props: { paramsList?: PopupParams[] }) => {
|
||||
const params = popupParams[index];
|
||||
|
||||
if (params.puid) {
|
||||
const popupSchema = findSchemaByUid(params.puid, fieldSchema.root);
|
||||
const popupSchema = findSchemaByUid(params.puid, fieldSchema?.root);
|
||||
if (popupSchema) {
|
||||
savePopupSchemaToSchema(_.omit(popupSchema, 'parent'), schema);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user