@signalplus/params-about 1.0.22 → 1.0.23-alpha

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.
Files changed (2) hide show
  1. package/lib/es/index.js +4 -4
  2. 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
- * Generated: 2024-05-10
4
- * Version: 1.0.22
3
+ * Generated: 2024-05-17
4
+ * Version: 1.0.23-alpha
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -1661,7 +1661,7 @@ var TextValueList = /*#__PURE__*/function (_PureComponent) {
1661
1661
  _this2 = this;
1662
1662
 
1663
1663
  this.value = this.props.value || [];
1664
- if (!this.value.length) this.value.push({
1664
+ if (!this.value.length && !this.props.readonly) this.value.push({
1665
1665
  key: ''
1666
1666
  });
1667
1667
  return /*#__PURE__*/React.createElement("div", {
@@ -2433,7 +2433,7 @@ var TenorBucketHandlerList = /*#__PURE__*/function (_PureComponent) {
2433
2433
  _this2 = this;
2434
2434
 
2435
2435
  this.value = this.props.value || [];
2436
- if (!this.value.length) this.value.push({
2436
+ if (!this.value.length && !this.props.readonly) this.value.push({
2437
2437
  key: ''
2438
2438
  });
2439
2439
  return /*#__PURE__*/React.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.22",
3
+ "version": "1.0.23-alpha",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",