Skip to content

Commit 8fbee55

Browse files
authored
Update componentdoc.vue
1 parent f393bfe commit 8fbee55

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
@@ -193,7 +193,7 @@ export default {
193193
if (!component.options && typeof component === 'function') {
194194
// Async component that hans't been resolved yet.
195195
component(opts => {
196-
props = opts.props || {}
196+
props = opts.props ? { ...opts.props } : {}
197197
})
198198
} else {
199199
// Regular component

0 commit comments

Comments
 (0)