@para-ui/core 3.0.67 → 3.0.68

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.
@@ -1017,8 +1017,9 @@ var DynamicMultiBox = function DynamicMultiBox(props) {
1017
1017
  /** 监听内容是否产生横向滚动*/
1018
1018
  var monitorScroll = function monitorScroll() {
1019
1019
  setTimeout(function () {
1020
+ var _a, _b, _c, _d;
1020
1021
  var dom = document.querySelector('#multi-value-add-button');
1021
- if ((domRef === null || domRef === void 0 ? void 0 : domRef.current.offsetWidth) < (domRef === null || domRef === void 0 ? void 0 : domRef.current.scrollWidth)) dom === null || dom === void 0 ? void 0 : dom.classList.add('multi-value-add-button-top-20');else dom === null || dom === void 0 ? void 0 : dom.classList.remove('multi-value-add-button-top-20');
1022
+ if (((_a = domRef === null || domRef === void 0 ? void 0 : domRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth) < ((_b = domRef === null || domRef === void 0 ? void 0 : domRef.current) === null || _b === void 0 ? void 0 : _b.scrollWidth)) (_c = dom === null || dom === void 0 ? void 0 : dom.classList) === null || _c === void 0 ? void 0 : _c.add('multi-value-add-button-top-20');else (_d = dom === null || dom === void 0 ? void 0 : dom.classList) === null || _d === void 0 ? void 0 : _d.remove('multi-value-add-button-top-20');
1022
1023
  }, 0);
1023
1024
  };
1024
1025
  /**
package/README.md CHANGED
@@ -1,9 +1,15 @@
1
+ ## 版本: 3.0.68
2
+
3
+ para-ui/core@3.0.68 发布
4
+ 【动态多值框-DynamicMultiBox】修复IE上面offset报错
5
+
1
6
  ## 版本: 3.0.67
2
7
 
3
8
  para-ui/core@3.0.67 发布
4
9
  【分页-Pagination】解决开发报唯一key问题
5
10
  【下拉框-Select】修改IE上面下拉搜索框,带X问题,placeholder颜色问题
6
11
  【Upload】ImageUpload 修复上传时打开新tab问题
12
+ 【动态多值框-DynamicMultiBox】修复IE上面offset报错
7
13
 
8
14
  ## 版本: 3.0.66
9
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.67",
4
+ "version": "3.0.68",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",