From e8bc1cee3980e5a3ffa0d168c347256a09ff5456 Mon Sep 17 00:00:00 2001 From: Linus Metzler Date: Fri, 25 Feb 2022 07:45:21 +0100 Subject: [PATCH] fix for https://github.com/vuejs/core/pull/5417 --- src/components/map/GlMap.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/map/GlMap.js b/src/components/map/GlMap.js index 97bcf07..a545709 100644 --- a/src/components/map/GlMap.js +++ b/src/components/map/GlMap.js @@ -109,14 +109,14 @@ export default { }, render() { - if (!this.$_containerVNode) { - this.$_containerVNode = h("div", { + if (!this.$data.$_containerVNode) { + this.$data.$_containerVNode = h("div", { id: this.container, ref: "container" }); } return h("div", { class: "mgl-map-wrapper" }, [ - this.$_containerVNode, + this.$data.$_containerVNode, this.initialized ? this.$slots.default() : null ]); },