meixioacomponent 0.4.35 → 0.4.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -125057,12 +125057,13 @@ const Insert = options => {
|
|
|
125057
125057
|
componentInsertConstructor.vm.vueComponent = options.vueComponent;
|
|
125058
125058
|
componentInsertConstructor.componentProps = options.componentProps;
|
|
125059
125059
|
componentInsertConstructor.vm.init();
|
|
125060
|
-
let ele = document.createElement(
|
|
125061
|
-
ele.setAttribute(
|
|
125060
|
+
let ele = document.createElement('div');
|
|
125061
|
+
ele.setAttribute('id', `dynamic-${id}`);
|
|
125062
|
+
ele.setAttribute('class', 'dynamic');
|
|
125062
125063
|
|
|
125063
125064
|
if (options.mountedDom) {
|
|
125064
|
-
ele.style.height =
|
|
125065
|
-
componentInsertConstructor.vm.$el.style.height =
|
|
125065
|
+
ele.style.height = '100%';
|
|
125066
|
+
componentInsertConstructor.vm.$el.style.height = '100%';
|
|
125066
125067
|
} else {
|
|
125067
125068
|
ele.style.position = `fixed`;
|
|
125068
125069
|
ele.style.zIndex = 9999;
|
|
@@ -125066,12 +125066,13 @@ const Insert = options => {
|
|
|
125066
125066
|
componentInsertConstructor.vm.vueComponent = options.vueComponent;
|
|
125067
125067
|
componentInsertConstructor.componentProps = options.componentProps;
|
|
125068
125068
|
componentInsertConstructor.vm.init();
|
|
125069
|
-
let ele = document.createElement(
|
|
125070
|
-
ele.setAttribute(
|
|
125069
|
+
let ele = document.createElement('div');
|
|
125070
|
+
ele.setAttribute('id', `dynamic-${id}`);
|
|
125071
|
+
ele.setAttribute('class', 'dynamic');
|
|
125071
125072
|
|
|
125072
125073
|
if (options.mountedDom) {
|
|
125073
|
-
ele.style.height =
|
|
125074
|
-
componentInsertConstructor.vm.$el.style.height =
|
|
125074
|
+
ele.style.height = '100%';
|
|
125075
|
+
componentInsertConstructor.vm.$el.style.height = '100%';
|
|
125075
125076
|
} else {
|
|
125076
125077
|
ele.style.position = `fixed`;
|
|
125077
125078
|
ele.style.zIndex = 9999;
|