diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue index 6f436e9d4..6b32ff1bf 100644 --- a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue +++ b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue @@ -66,6 +66,7 @@ const props = withDefaults( }, }, ); +props.value.children ??= []; const getPageBlockList = inject<(any) => any>("getPageBlockList"); diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.section.vue b/packages/client/src/pages/page-editor/els/page-editor.el.section.vue index d4b28e13c..476b2340e 100644 --- a/packages/client/src/pages/page-editor/els/page-editor.el.section.vue +++ b/packages/client/src/pages/page-editor/els/page-editor.el.section.vue @@ -40,6 +40,7 @@ const props = withDefaults( }, }, ); +props.value.children ??= []; const getPageBlockList = inject<(any) => any>("getPageBlockList");