@signalplus/params-about 1.0.26-alpha12 → 1.0.26-alpha13

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 +5 -2
  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
3
  * Generated: 2025-11-06
4
- * Version: 1.0.26-alpha12
4
+ * Version: 1.0.26-alpha13
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -4113,12 +4113,15 @@ var ParamValueEditorModalEl = /*#__PURE__*/function (_PureComponent2) {
4113
4113
  _createClass(ParamValueEditorModalEl, [{
4114
4114
  key: "render",
4115
4115
  value: function render() {
4116
+ console.log('this.props===========================', this.props);
4117
+ var width = ParamTypeConfig[this.props.valueType].modalWidth || this.state.width || 740;
4116
4118
  return /*#__PURE__*/React.createElement(Modal, {
4117
4119
  key: String(this.state.visible),
4118
- width: this.state.width || 740,
4120
+ width: width,
4119
4121
  title: 'Edit Value',
4120
4122
  closable: false,
4121
4123
  visible: this.state.visible,
4124
+ destroyOnClose: true,
4122
4125
  footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
4123
4126
  onClick: this.onHide
4124
4127
  }, "Cancel"), /*#__PURE__*/React.createElement(Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.26-alpha12",
3
+ "version": "1.0.26-alpha13",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",