@zhaoyifannan/tvue 3.7.18-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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tvue.js v3.7.17-beta
2
+ * Tvue.js v3.7.19-beta
3
3
  * (c) 2024-2026 Zhaoyifannan
4
4
  * Released under the MIT License.
5
5
  */
@@ -3683,16 +3683,15 @@ 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;
3689
- } else {
3690
- clientHeight += 10;
3691
3690
  }
3692
3691
  var calcHeight = _this4.calcHeight || 0;
3693
3692
  var tableRef = _this4.$refs.table;
3694
3693
  var tablePageRef = _this4.$refs.tablePage;
3695
- var tableHeight = clientHeight - calcHeight - paddingBottom;
3694
+ var tableHeight = clientHeight - calcHeight - paddingTop - paddingBottom;
3696
3695
  if (tableRef) {
3697
3696
  var height = tableRef.$el.offsetTop || 0;
3698
3697
  tableHeight -= height;
@@ -31348,7 +31347,7 @@ function validatenull(val) {
31348
31347
 
31349
31348
  "use strict";
31350
31349
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return version; });
31351
- var version = '3.7.17-beta';
31350
+ var version = '3.7.19-beta';
31352
31351
 
31353
31352
  /***/ }),
31354
31353