@para-ui/core 4.0.38 → 4.0.39

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/Drawer/index.js CHANGED
@@ -32,8 +32,8 @@ var zh = {
32
32
  };
33
33
 
34
34
  var localeJson = {
35
- zh,
36
- en
35
+ zh: zh,
36
+ en: en
37
37
  };
38
38
 
39
39
  /**
@@ -41,8 +41,8 @@ var localeJson = {
41
41
  * @param el 当前元素
42
42
  * @param selector 查找元素class
43
43
  */
44
- const closest = (el, selector) => {
45
- const matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
44
+ var closest = function closest(el, selector) {
45
+ var matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
46
46
  while (el) {
47
47
  if (matchesSelector.call(el, selector)) {
48
48
  break;
@@ -593,12 +593,33 @@ const DynamicMultiBox = props => {
593
593
  if (popoverClassName) str += " ".concat(popoverClassName);
594
594
  return str;
595
595
  };
596
+ /**
597
+ * 判断是否全部隐藏删除
598
+ * 默认全部隐藏
599
+ * */
600
+ const isAllHideDelete = () => {
601
+ var _a;
602
+ let bol = true;
603
+ if (valueList.length > deleteDisable.length) {
604
+ return false;
605
+ }
606
+ for (let i = 0, l = valueList === null || valueList === void 0 ? void 0 : valueList.length; i < l; i++) {
607
+ const id = (_a = valueList[i]) === null || _a === void 0 ? void 0 : _a[rowKey];
608
+ if (id && deleteDisable.indexOf(id) === -1) {
609
+ bol = false;
610
+ break;
611
+ }
612
+ }
613
+ return bol;
614
+ };
596
615
  /**
597
616
  * 渲染表头
598
617
  * */
599
618
  const renderTitle = useMemo(() => {
600
619
  const config = [...fixedConfig, ...selectedConfig];
601
620
  if (!(config === null || config === void 0 ? void 0 : config.length)) return null;
621
+ const showDeleteIcon = keepLastItem ? valueList.length > 1 : true;
622
+ const isAllHideDelBol = isAllHideDelete();
602
623
  return jsxs("div", Object.assign({
603
624
  className: 'title-config'
604
625
  }, {
@@ -633,7 +654,7 @@ const DynamicMultiBox = props => {
633
654
  required: singleTitle === null || singleTitle === void 0 ? void 0 : singleTitle.required,
634
655
  label: singleTitle === null || singleTitle === void 0 ? void 0 : singleTitle.label
635
656
  }) : null, jsxs("div", Object.assign({
636
- className: "operator-column-40 ".concat(isSort && (valueList === null || valueList === void 0 ? void 0 : valueList.length) > 1 ? 'operator-column-80' : '')
657
+ className: "operator-column-40 ".concat(isSort && showDeleteIcon && !isAllHideDelBol ? 'operator-column-80' : '')
637
658
  }, {
638
659
  children: [isSort && jsx("div", {
639
660
  className: 'blank-block'
@@ -656,26 +677,7 @@ const DynamicMultiBox = props => {
656
677
  }))]
657
678
  }))]
658
679
  }));
659
- }, [titleMode, fixedConfig, selectedConfig, isSort, isFilter, checked, onCheckChange, onRestoreDefault, rowKey]);
660
- /**
661
- * 判断是否全部隐藏删除
662
- * 默认全部隐藏
663
- * */
664
- const isAllHideDelete = () => {
665
- var _a;
666
- let bol = true;
667
- if (valueList.length > deleteDisable.length) {
668
- return false;
669
- }
670
- for (let i = 0, l = valueList === null || valueList === void 0 ? void 0 : valueList.length; i < l; i++) {
671
- const id = (_a = valueList[i]) === null || _a === void 0 ? void 0 : _a[rowKey];
672
- if (id && deleteDisable.indexOf(id) === -1) {
673
- bol = false;
674
- break;
675
- }
676
- }
677
- return bol;
678
- };
680
+ }, [titleMode, fixedConfig, selectedConfig, isSort, isFilter, checked, onCheckChange, onRestoreDefault, rowKey, keepLastItem, valueList, deleteDisable]);
679
681
  /**
680
682
  *@desc 渲染内容
681
683
  * */
@@ -724,7 +726,7 @@ const DynamicMultiBox = props => {
724
726
  })
725
727
  });
726
728
  }
727
- }, [valueList, isSort, isFilter, errors, fixedConfig, selectedConfig, keepLastItem, deleteRender, rowKey]);
729
+ }, [valueList, isSort, isFilter, errors, fixedConfig, selectedConfig, keepLastItem, deleteRender, rowKey, deleteDisable]);
728
730
  /**
729
731
  * @desc 删除事件
730
732
  * */
package/Form/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DeepClone } from '@paraview/lib';
3
3
  import React__default from 'react';
4
- import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-cf52327b.js';
4
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-182d41ee.js';
5
5
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
6
6
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
7
7
  import '../TextField/index.js';
package/FormItem/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { F as default } from '../_verture/index-cf52327b.js';
3
+ export { F as default } from '../_verture/index-182d41ee.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-5317fc89.js';
@@ -60,8 +60,8 @@ var zh = {
60
60
  };
61
61
 
62
62
  var localeJson = {
63
- zh,
64
- en
63
+ zh: zh,
64
+ en: en
65
65
  };
66
66
 
67
67
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-pagination {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n color: rgb(29, 33, 38);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-v4-pagination.paraui-v4-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-left-arrow > .pagination-content {\n padding-left: 0;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-right-arrow > .pagination-content {\n padding-right: 0;\n}\n.paraui-v4-pagination > .pagination-space {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .pagination-space:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content {\n display: flex;\n border-radius: 4px;\n height: 32px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page, .paraui-v4-pagination > .pagination-content > .right-page {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div, .paraui-v4-pagination > .pagination-content > .right-page > div {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 32px;\n height: 32px;\n border-radius: 4px;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn {\n cursor: not-allowed;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:last-child, .paraui-v4-pagination > .pagination-content > .right-page > div:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover, .paraui-v4-pagination > .pagination-content > .right-page > div:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div > svg, .paraui-v4-pagination > .pagination-content > .right-page > div > svg {\n font-size: 16px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination {\n height: 100%;\n display: inline-block;\n box-shadow: none;\n vertical-align: top;\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li {\n min-width: 32px;\n height: 32px;\n line-height: 32px;\n display: inline-block;\n text-align: center;\n cursor: pointer;\n border-radius: 4px;\n margin-right: 6px;\n padding: 0 6px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:first-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li:last-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-next {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-next, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-prev {\n padding: 0;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon svg {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon span {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover svg {\n display: inline-block;\n vertical-align: middle;\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover span {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:hover {\n background-color: rgb(247, 248, 250);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active {\n color: rgb(46, 101, 230);\n border: 1px solid;\n border-color: rgb(46, 101, 230);\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active:hover {\n background: rgb(255, 255, 255);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-btn-content button:first-child {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .page-line-memo .page-line-select {\n width: 110px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .skip-page-memo {\n display: flex;\n align-items: center;\n}\n.paraui-v4-pagination > .skip-page-memo > span {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field {\n width: 50px;\n margin: 0 4px;\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field .right-icon {\n margin-right: 8px;\n}";
@@ -35,8 +35,8 @@ var zh = {
35
35
  };
36
36
 
37
37
  var localeJson = {
38
- zh,
39
- en
38
+ zh: zh,
39
+ en: en
40
40
  };
41
41
 
42
42
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-popconfirm.paraui-v4-tooltip {\n position: absolute;\n width: 440px;\n padding: 0;\n font-size: 14px;\n color: initial;\n background-color: rgb(255, 255, 255);\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border-radius: 8px;\n border: 1px solid rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-popconfirm.component-tooltip-hidden.paraui-v4-tooltip {\n border: none;\n}\n.paraui-v4-popconfirm.paraui-v4-tooltip .component-tooltip-inner {\n padding: 0;\n color: initial;\n background-color: transparent;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper {\n padding: 16px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message {\n position: relative;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon {\n position: absolute;\n top: 1px;\n color: rgb(255, 147, 38);\n line-height: 0;\n font-size: 18px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-body {\n padding-left: 24px;\n line-height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-title {\n font-weight: 600;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-content {\n font-weight: 400;\n margin-top: 8px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-content.without-title {\n margin-top: 0;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-description {\n margin-top: 4px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-description.without-title-or-content {\n margin-top: 0;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns {\n margin-top: 12px;\n text-align: right;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns > button + button {\n margin-left: 12px;\n}\n.paraui-v4-popconfirm .paraui-v4-popconfirm-btn {\n min-width: 54px;\n}";
package/Progress/index.js CHANGED
@@ -8,19 +8,19 @@ import CloseIcon from '@para-ui/icons/Close';
8
8
  import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-5317fc89.js';
9
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
10
10
 
11
- const Steps = props => {
12
- const {
13
- steps,
14
- percent = 0,
15
- strokeWidth = 8,
16
- strokeColor,
17
- trailColor,
18
- children
19
- } = props;
11
+ var Steps = function Steps(props) {
12
+ var steps = props.steps,
13
+ _props$percent = props.percent,
14
+ percent = _props$percent === void 0 ? 0 : _props$percent,
15
+ _props$strokeWidth = props.strokeWidth,
16
+ strokeWidth = _props$strokeWidth === void 0 ? 8 : _props$strokeWidth,
17
+ strokeColor = props.strokeColor,
18
+ trailColor = props.trailColor,
19
+ children = props.children;
20
20
  /** 计算出应该高亮多少步 **/
21
- const current = typeof percent === 'number' ? Math.round(steps * (percent / 100)) : 1;
22
- const styledSteps = [];
23
- for (let i = 0; i < steps; i += 1) {
21
+ var current = typeof percent === 'number' ? Math.round(steps * (percent / 100)) : 1;
22
+ var styledSteps = [];
23
+ for (var i = 0; i < steps; i += 1) {
24
24
  styledSteps.push(jsx("div", {
25
25
  className: i <= current - 1 ? 'steps-item steps-item-active' : 'steps-item',
26
26
  style: {
@@ -64,11 +64,11 @@ function validProgress(progress) {
64
64
  * @param gradients 渐变的参数
65
65
  * @return {string} 样式值
66
66
  */
67
- const sortGradient = gradients => {
68
- let tempArr = [];
69
- Object.keys(gradients).forEach(key => {
67
+ var sortGradient = function sortGradient(gradients) {
68
+ var tempArr = [];
69
+ Object.keys(gradients).forEach(function (key) {
70
70
  // 拿到百分比的数字
71
- const formattedKey = parseFloat(key.replace(/%/g, ''));
71
+ var formattedKey = parseFloat(key.replace(/%/g, ''));
72
72
  // 进行序列化
73
73
  if (!isNaN(formattedKey)) {
74
74
  tempArr.push({
@@ -78,12 +78,12 @@ const sortGradient = gradients => {
78
78
  }
79
79
  });
80
80
  // 排序 从小到大
81
- tempArr = tempArr.sort((a, b) => a.key - b.key);
82
- return tempArr.map(_ref => {
83
- let {
84
- key,
85
- value
86
- } = _ref;
81
+ tempArr = tempArr.sort(function (a, b) {
82
+ return a.key - b.key;
83
+ });
84
+ return tempArr.map(function (_ref) {
85
+ var key = _ref.key,
86
+ value = _ref.value;
87
87
  return "".concat(value, " ").concat(key, "%");
88
88
  }).join(', ');
89
89
  };
@@ -105,16 +105,17 @@ const sortGradient = gradients => {
105
105
  * @param {string} strokeColor 颜色值
106
106
  * @return 返回 backgroundImage 的样式值
107
107
  */
108
- const handleGradient = (strokeColor, directionConfig) => {
109
- const {
110
- from = '#3D66F8',
111
- to = '#4F93F0',
112
- direction = directionConfig === 'rtl' ? 'to left' : 'to right'
113
- } = strokeColor,
108
+ var handleGradient = function handleGradient(strokeColor, directionConfig) {
109
+ var _strokeColor$from = strokeColor.from,
110
+ from = _strokeColor$from === void 0 ? '#3D66F8' : _strokeColor$from,
111
+ _strokeColor$to = strokeColor.to,
112
+ to = _strokeColor$to === void 0 ? '#4F93F0' : _strokeColor$to,
113
+ _strokeColor$directio = strokeColor.direction,
114
+ direction = _strokeColor$directio === void 0 ? directionConfig === 'rtl' ? 'to left' : 'to right' : _strokeColor$directio,
114
115
  rest = __rest(strokeColor, ["from", "to", "direction"]);
115
116
  // 剩余参数有值说明除了from to direction 还传了 另外的参数
116
117
  if (Object.keys(rest).length !== 0) {
117
- const sortedGradients = sortGradient(rest);
118
+ var sortedGradients = sortGradient(rest);
118
119
  return {
119
120
  backgroundImage: "linear-gradient(".concat(direction, ", ").concat(sortedGradients, ")")
120
121
  };
@@ -123,25 +124,23 @@ const handleGradient = (strokeColor, directionConfig) => {
123
124
  backgroundImage: "linear-gradient(".concat(direction, ", ").concat(from, ", ").concat(to, ")")
124
125
  };
125
126
  };
126
- const Line = props => {
127
- const {
128
- direction: directionConfig,
129
- percent,
130
- strokeWidth,
131
- strokeColor,
132
- strokeLinecap,
133
- trailColor
134
- } = props;
127
+ var Line = function Line(props) {
128
+ var directionConfig = props.direction,
129
+ percent = props.percent,
130
+ strokeWidth = props.strokeWidth,
131
+ strokeColor = props.strokeColor,
132
+ strokeLinecap = props.strokeLinecap,
133
+ trailColor = props.trailColor;
135
134
  /** 进度条高亮部分的颜色样式 **/
136
- const backgroundProps = strokeColor && typeof strokeColor !== 'string' ? handleGradient(strokeColor, directionConfig) : {
135
+ var backgroundProps = strokeColor && typeof strokeColor !== 'string' ? handleGradient(strokeColor, directionConfig) : {
137
136
  background: strokeColor
138
137
  };
139
138
  /** 进度条轨道部分的颜色样式 **/
140
- const trailStyle = trailColor ? {
139
+ var trailStyle = trailColor ? {
141
140
  backgroundColor: trailColor
142
141
  } : undefined;
143
142
  /** 进度条百分比的样式 **/
144
- const percentStyle = Object.assign({
143
+ var percentStyle = Object.assign({
145
144
  width: "".concat(validProgress(percent), "%"),
146
145
  height: strokeWidth || 8,
147
146
  borderRadius: strokeLinecap === 'square' ? 0 : ''
package/Querying/index.js CHANGED
@@ -8,7 +8,7 @@ import 'react';
8
8
  import '../_verture/index-ca413216.js';
9
9
  import '@paraview/lib';
10
10
 
11
- const LargeSearch = () => {
11
+ var LargeSearch = function LargeSearch() {
12
12
  return jsx("svg", Object.assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  width: "100%",
@@ -445,7 +445,7 @@ const LargeSearch = () => {
445
445
  }))
446
446
  }));
447
447
  };
448
- const SmallSearch = () => {
448
+ var SmallSearch = function SmallSearch() {
449
449
  return jsx("svg", Object.assign({
450
450
  xmlns: "http://www.w3.org/2000/svg",
451
451
  width: "100%",
@@ -684,8 +684,8 @@ var zh = {
684
684
  };
685
685
 
686
686
  var localeJson = {
687
- zh,
688
- en
687
+ zh: zh,
688
+ en: en
689
689
  };
690
690
 
691
691
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-querying {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n}\n.paraui-v4-querying > .querying-image {\n line-height: 0;\n overflow: hidden;\n}\n.paraui-v4-querying > .querying-image img {\n width: 100%;\n}\n.paraui-v4-querying .querying-image-large {\n width: 334px;\n height: 238px;\n}\n.paraui-v4-querying .querying-image-small {\n width: 120px;\n height: 80px;\n}\n.paraui-v4-querying > .querying-description {\n line-height: 17px;\n font-size: 14px;\n font-weight: 400;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-querying.paraui-v4-querying-large > .querying-description {\n margin-top: 20px;\n}\n.paraui-v4-querying.paraui-v4-querying-small > .querying-description {\n margin-top: 10px;\n font-size: 14px;\n}";
package/README.md CHANGED
@@ -1,8 +1,16 @@
1
- ## 🎉 4.0.38 发布
1
+ ## 🎉 para-ui/core@4.0.39 发布
2
2
 
3
- 🎁【Feature
3
+ 🔧【Bugfix
4
+ - 【动态多值框-DynamicMultiBox】修复keepLastItem为false,标题错位
5
+ - 【下拉框-Select】修复分组下拉框搜索数据丢失
6
+
7
+
8
+ ## 🎉 para-ui/core@4.0.38 发布
4
9
 
10
+ 🎁【Feature】
5
11
  - 【changelog】样式调整
12
+
13
+ 🔧【Bugfix】
6
14
  - 【表格-Table】修复自定义filter,多次渲染,导致自定义filter组件重复渲染
7
15
 
8
16
 
package/Select/index.js CHANGED
@@ -352,7 +352,7 @@ const Select = props => {
352
352
  const arr = [];
353
353
  const listDeep = [...listData];
354
354
  for (let i = 0, l = listDeep.length; i < l; i++) {
355
- const item = listDeep[i];
355
+ const item = Object.assign({}, listDeep[i]);
356
356
  if (item[childrenName] && item[childrenName].length > 0) {
357
357
  const childArr = item[childrenName];
358
358
  const handChildArr = [];