chore: vue instance
parent
b2717bccda
commit
6362bf9edb
|
@ -1,6 +1,4 @@
|
||||||
import Vue from 'vue';
|
|
||||||
import PropTypes from './vue-types';
|
import PropTypes from './vue-types';
|
||||||
import Base from '../base';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -53,8 +51,7 @@ export default {
|
||||||
this.container.appendChild(el);
|
this.container.appendChild(el);
|
||||||
}
|
}
|
||||||
if (!this._component) {
|
if (!this._component) {
|
||||||
const V = Base.Vue || Vue;
|
this._component = new this.$root.constructor({
|
||||||
this._component = new V({
|
|
||||||
el: el,
|
el: el,
|
||||||
parent: self.parent,
|
parent: self.parent,
|
||||||
data: {
|
data: {
|
||||||
|
|
Loading…
Reference in New Issue