Skip to content

Commit

Permalink
chore(dynamic-component): pass string props correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed May 7, 2022
1 parent 41c73ce commit e7e9d9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/docs/dynamic-component-display.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const componentProps = computed(() => {
context[key] = value.default
return context
}, {})
return reactive(p)
})
Expand Down Expand Up @@ -92,7 +91,7 @@ function castAndSet(prop, event) {
componentProps.value[prop.name] = Boolean(value)
}
} else {
componentProps[prop.name] = value
componentProps.value[prop.name] = value
}
}
Expand Down

0 comments on commit e7e9d9a

Please sign in to comment.