@signalplus/params-about 0.1.26 → 0.1.27
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/lib/es/index.js +4 -3
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Bundle of @signalplus/params-about
|
|
3
3
|
* Generated: 2022-04-12
|
|
4
|
-
* Version: 0.1.
|
|
4
|
+
* Version: 0.1.27
|
|
5
5
|
* License: MIT
|
|
6
6
|
* Author: 2631541504@qq.com
|
|
7
7
|
*/
|
|
@@ -790,9 +790,10 @@ var TextArray = /*#__PURE__*/function (_PureComponent) {
|
|
|
790
790
|
_createClass(TextArray, [{
|
|
791
791
|
key: "render",
|
|
792
792
|
value: function render() {
|
|
793
|
-
var
|
|
793
|
+
var _this$props$value,
|
|
794
|
+
_this2 = this;
|
|
794
795
|
|
|
795
|
-
this.value = this.props.value || [];
|
|
796
|
+
this.value = ((_this$props$value = this.props.value) === null || _this$props$value === void 0 ? void 0 : _this$props$value.slice()) || [];
|
|
796
797
|
if (!this.value.length) this.value.push('');
|
|
797
798
|
return /*#__PURE__*/React.createElement("div", {
|
|
798
799
|
className: classNames('param-text-array', {
|