Skip to content

Commit 6362bf9

Browse files
committed
chore: vue instance
1 parent b2717bc commit 6362bf9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/_util/ContainerRender.jsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import Vue from 'vue';
21
import PropTypes from './vue-types';
3-
import Base from '../base';
42

53
export default {
64
props: {
@@ -53,8 +51,7 @@ export default {
5351
this.container.appendChild(el);
5452
}
5553
if (!this._component) {
56-
const V = Base.Vue || Vue;
57-
this._component = new V({
54+
this._component = new this.$root.constructor({
5855
el: el,
5956
parent: self.parent,
6057
data: {

0 commit comments

Comments
 (0)