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 6f436e9d4c..6b32ff1bf7 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 d4b28e13cb..476b2340ea 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");