vxe-table 3.8.14 → 3.8.15

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.
@@ -480,9 +480,7 @@ export default {
480
480
  maximize () {
481
481
  return this.$nextTick().then(() => {
482
482
  if (!this.revertLocat) {
483
- const marginSize = Math.max(0, this.marginSize)
484
483
  const modalBoxElem = this.getBox()
485
- const { visibleHeight, visibleWidth } = DomTools.getDomNode()
486
484
  this.revertLocat = {
487
485
  top: modalBoxElem.offsetTop,
488
486
  left: modalBoxElem.offsetLeft,
@@ -490,10 +488,10 @@ export default {
490
488
  height: modalBoxElem.offsetHeight + (modalBoxElem.style.height ? 0 : 1)
491
489
  }
492
490
  Object.assign(modalBoxElem.style, {
493
- top: `${marginSize}px`,
494
- left: `${marginSize}px`,
495
- width: `${visibleWidth - marginSize * 2}px`,
496
- height: `${visibleHeight - marginSize * 2}px`
491
+ top: '0',
492
+ left: '0',
493
+ width: '100%',
494
+ height: '100%'
497
495
  })
498
496
  this.savePosStorage()
499
497
  }
@@ -1635,7 +1635,8 @@ const Methods = {
1635
1635
  const bodyWidth = tableBodyElem ? tableBodyElem.clientWidth - 1 : 0
1636
1636
  rdWidth = Math.floor(colWidth * bodyWidth)
1637
1637
  }
1638
- column.renderWidth = rdWidth
1638
+ column.resizeWidth = rdWidth
1639
+ return this.refreshColumn()
1639
1640
  }
1640
1641
  return this.$nextTick()
1641
1642
  },
@@ -91,10 +91,10 @@
91
91
  cursor: pointer;
92
92
  }
93
93
  &:hover {
94
+ color: $vxe-primary-color;
94
95
  & > i {
95
96
  display: block;
96
97
  }
97
- color: $vxe-primary-color;
98
98
  }
99
99
  }
100
100
  .vxe-import-select--file {