From 6362bf9edb441c0c0096beca1d2c8727003dbb15 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 4 Dec 2019 22:12:38 +0800 Subject: [PATCH] chore: vue instance --- components/_util/ContainerRender.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/_util/ContainerRender.jsx b/components/_util/ContainerRender.jsx index a1f9c691c..3417225fb 100644 --- a/components/_util/ContainerRender.jsx +++ b/components/_util/ContainerRender.jsx @@ -1,6 +1,4 @@ -import Vue from 'vue'; import PropTypes from './vue-types'; -import Base from '../base'; export default { props: { @@ -53,8 +51,7 @@ export default { this.container.appendChild(el); } if (!this._component) { - const V = Base.Vue || Vue; - this._component = new V({ + this._component = new this.$root.constructor({ el: el, parent: self.parent, data: {