mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
fix a bug in updateComponentProps
This commit is contained in:
parent
364c744cef
commit
2dda11ba60
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user