fix: items should have default value for toc
This commit is contained in:
parent
88da3af22e
commit
1bc227d890
@ -19,7 +19,10 @@ export default {
|
|||||||
'veui-anchor': Anchor
|
'veui-anchor': Anchor
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
items: Array
|
items: {
|
||||||
|
type: Array,
|
||||||
|
default: () => []
|
||||||
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
flattenItems () {
|
flattenItems () {
|
||||||
|
Loading…
Reference in New Issue
Block a user