diff --git a/components/OneToc.vue b/components/OneToc.vue index 397b234..26df236 100644 --- a/components/OneToc.vue +++ b/components/OneToc.vue @@ -19,7 +19,10 @@ export default { 'veui-anchor': Anchor }, props: { - items: Array + items: { + type: Array, + default: () => [] + } }, computed: { flattenItems () {