@kdcloudjs/table 1.2.1-canary.1 → 1.2.1-canary.2

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.
@@ -344,8 +344,7 @@ function keepWithinBounds(popupParent, ePopup, x, y) {
344
344
  }
345
345
 
346
346
  if (y) {
347
- var minHeight = Math.min(ePopupRect.height, 180);
348
- var maxY = parentHeight - minHeight;
347
+ var maxY = parentHeight - ePopupRect.height;
349
348
  y = Math.min(Math.max(y, 0), Math.abs(maxY)); // 目前位置,最大支持的位置
350
349
  }
351
350
 
@@ -380,8 +380,7 @@ function keepWithinBounds(popupParent, ePopup, x, y) {
380
380
  }
381
381
 
382
382
  if (y) {
383
- var minHeight = Math.min(ePopupRect.height, 180);
384
- var maxY = parentHeight - minHeight;
383
+ var maxY = parentHeight - ePopupRect.height;
385
384
  y = Math.min(Math.max(y, 0), Math.abs(maxY)); // 目前位置,最大支持的位置
386
385
  }
387
386
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/table",
3
- "version": "1.2.1-canary.1",
3
+ "version": "1.2.1-canary.2",
4
4
  "description": "金蝶 react table 组件",
5
5
  "title": "table",
6
6
  "keywords": [