@zhaoyifannan/tvue 3.7.19-beta → 3.7.20-beta
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.
- package/lib/tvue.js +2 -1
- package/lib/tvue.js.map +1 -1
- package/lib/tvue.min.js +1 -1
- package/package.json +1 -1
package/lib/tvue.js
CHANGED
|
@@ -3683,6 +3683,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
3683
3683
|
requestAnimationFrame(function () {
|
|
3684
3684
|
var clientHeight = parentElement.clientHeight;
|
|
3685
3685
|
var computedStyle = window.getComputedStyle(parentElement);
|
|
3686
|
+
var paddingTop = parseFloat(computedStyle.paddingTop);
|
|
3686
3687
|
var paddingBottom = parseFloat(computedStyle.paddingBottom);
|
|
3687
3688
|
if (_this4.option.card) {
|
|
3688
3689
|
clientHeight -= 16;
|
|
@@ -3690,7 +3691,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
3690
3691
|
var calcHeight = _this4.calcHeight || 0;
|
|
3691
3692
|
var tableRef = _this4.$refs.table;
|
|
3692
3693
|
var tablePageRef = _this4.$refs.tablePage;
|
|
3693
|
-
var tableHeight = clientHeight - calcHeight - paddingBottom;
|
|
3694
|
+
var tableHeight = clientHeight - calcHeight - paddingTop - paddingBottom;
|
|
3694
3695
|
if (tableRef) {
|
|
3695
3696
|
var height = tableRef.$el.offsetTop || 0;
|
|
3696
3697
|
tableHeight -= height;
|