Merge branch 'main' into next

This commit is contained in:
GitHub Actions Bot 2024-10-10 12:46:42 +00:00
commit dfbdb2f1c8

View File

@ -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);
}