@yueglobal/ui 1.0.5 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yueglobal/ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "粤链全球 - react组件库",
5
5
  "license": "MIT",
6
6
  "module": "index.js",
@@ -383,10 +383,11 @@ function _setPopupStyle(uuid, left, zIndex) {
383
383
  popupUL.style.justifyContent = 'unset';
384
384
  }
385
385
  if (zIndex) {
386
- var _popupUL$parentElemen, _rootEle$tagName;
387
- var rootEle = (_popupUL$parentElemen = popupUL.parentElement) === null || _popupUL$parentElemen === void 0 ? void 0 : _popupUL$parentElemen.parentElement;
386
+ var _rootEle$tagName;
387
+ // const rootEle = popupUL.parentElement?.parentElement;
388
+ var rootEle = popupUL.parentElement;
388
389
  if (rootEle && ((_rootEle$tagName = rootEle.tagName) === null || _rootEle$tagName === void 0 ? void 0 : _rootEle$tagName.toLowerCase()) !== 'body') {
389
- rootEle.style.position = 'relative';
390
+ // rootEle.style.position = 'relative';
390
391
  rootEle.style.zIndex = ++popupZIndex + '';
391
392
  }
392
393
  }