Merge pull request #1271 from thechrisoshow/vue-3-ref

VueRenderer's ref is undefined when in production mode
This commit is contained in:
Philipp Kühn
2021-05-05 18:19:43 +02:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ export class VueRenderer {
}
get ref(): any {
return this.editor.contentComponent?.ctx.$refs[this.id]
return this.editor.contentComponent?.refs[this.id]
}
updateProps(props: Record<string, any> = {}): void {