@whitesev/utils 2.5.2 → 2.5.3

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.
@@ -4829,9 +4829,7 @@ var Utils = (function () {
4829
4829
  getMaxZIndexNodeInfo(deviation = 1, target = this.windowApi.document, ignoreCallBack) {
4830
4830
  deviation = Number.isNaN(deviation) ? 1 : deviation;
4831
4831
  const UtilsContext = this;
4832
- // 最大值2147483647
4833
- const maxZIndex = Math.pow(2, 31) - 1;
4834
- // 比较值2000000000
4832
+ // 比较值 2000000000
4835
4833
  const maxZIndexCompare = 2 * Math.pow(10, 9);
4836
4834
  // 当前页面最大的z-index
4837
4835
  let zIndex = 0;
@@ -4883,7 +4881,7 @@ var Utils = (function () {
4883
4881
  zIndex += deviation;
4884
4882
  if (zIndex >= maxZIndexCompare) {
4885
4883
  // 最好不要超过最大值
4886
- zIndex = maxZIndex;
4884
+ zIndex = maxZIndexCompare;
4887
4885
  }
4888
4886
  return {
4889
4887
  node: maxZIndexNode,