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");