Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoyanart committed Apr 1, 2021
1 parent 2c1cda5 commit 41534bd
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 49 deletions.
23 changes: 6 additions & 17 deletions lib/vue-layer.common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/vue-layer.common.js.map

Large diffs are not rendered by default.

23 changes: 6 additions & 17 deletions lib/vue-layer.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/vue-layer.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/vue-layer.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/vue-layer.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-layer",
"version": "1.2.2",
"version": "1.2.3",
"description": "vue layer component",
"private": false,
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions packages/layer/src/components/drag/drag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,12 @@ export default {
break;
}
}
console.log('mindex+++', this.minindex);
if (this.minindex === -2) {
iframeMinList.push(1);
this.minindex = iframeMinList.length - 1;
domMinIndex = iframeMinList.length - 1;
}
}
console.log('mindex', domMinIndex, this.options.layer.iframeMinList);
this.addStyle = {
overflow: "hidden",
bottom: 0,
Expand All @@ -207,7 +205,6 @@ export default {
minHeight: "42px"
};
this.maxMiniState = 2;
console.log('max-iframeMinList', this.options.layer.iframeMinList);
},
maxmini() {//还原
document.getElementById(this.options.id).removeAttribute("style");
Expand All @@ -217,7 +214,6 @@ export default {
margin: "t"
};
this.maxMiniState = 0;
console.log('iframeMinList', this.options.layer.iframeMinList);
},
moveStart(event) {
helper.moveStart(event, this.options);
Expand Down
6 changes: 0 additions & 6 deletions packages/layer/src/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,11 @@ let Notification = (function (Vue, globalOption = {
delete self.instances[id];
self.instancesVue[id].main.$destroy();
if (self.instancesVue[id].iframe != '') {
// console.log('iframe', self.instances);
// console.log('iframe', self.instancesVue[id]);
console.log('iframe', self.instancesVue[id].main.$el.getAttribute('minindex'));
const minindex = parseInt(self.instancesVue[id].main.$el.getAttribute('minindex') || -2);
if (minindex > -1) {
self.iframeMinList[minindex] = -1;
console.log('iframe', self.iframeMinList);
}
self.instancesVue[id].iframe.$destroy();
} else {
console.log('no-iframe');
}
//取消隐藏滚动条
if (!self.instancesVue[id].main.scrollbar) {
Expand Down

0 comments on commit 41534bd

Please sign in to comment.