fix: [page] adding child blocks to section block

This commit is contained in:
sup39 2023-10-07 14:20:06 +09:00
parent 92758a29f1
commit 8aea2c5d8d
No known key found for this signature in database
GPG key ID: 111C00916C1641E5
2 changed files with 2 additions and 0 deletions

View file

@ -66,6 +66,7 @@ const props = withDefaults(
}, },
}, },
); );
props.value.children ??= [];
const getPageBlockList = inject<(any) => any>("getPageBlockList"); const getPageBlockList = inject<(any) => any>("getPageBlockList");

View file

@ -40,6 +40,7 @@ const props = withDefaults(
}, },
}, },
); );
props.value.children ??= [];
const getPageBlockList = inject<(any) => any>("getPageBlockList"); const getPageBlockList = inject<(any) => any>("getPageBlockList");