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
|
||||
},
|
||||
props: {
|
||||
items: Array
|
||||
items: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
flattenItems () {
|
||||
|
Loading…
Reference in New Issue
Block a user