Skip to content

Commit c9e9570

Browse files
authored
Update componentdoc.vue
1 parent a92745d commit c9e9570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/componentdoc.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default {
197197
})
198198
} else {
199199
// Regular component
200-
props = component.options.props
200+
props = component.options.props || {}
201201
}
202202
203203
return Object.keys(props).map(prop => {

0 commit comments

Comments
 (0)