fix a bug in updateComponentProps

This commit is contained in:
Philipp Kühn 2019-05-07 18:52:46 +02:00
parent 364c744cef
commit 2dda11ba60

View File

@ -65,6 +65,10 @@ export default class ComponentView {
} }
updateComponentProps(props) { updateComponentProps(props) {
if (!this.vm._props) {
return
}
// Update props in component // Update props in component
// TODO: Avoid mutating a prop directly. // TODO: Avoid mutating a prop directly.
// Maybe there is a better way to do this? // Maybe there is a better way to do this?