@signalplus/params-about 0.1.16 → 0.1.17

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 +3 -3
  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: 2022-04-10
4
- * Version: 0.1.16
4
+ * Version: 0.1.17
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -2163,9 +2163,9 @@ var ParamMover = /*#__PURE__*/function (_PureComponent) {
2163
2163
  var map = function map(it) {
2164
2164
  var _it$children3;
2165
2165
 
2166
- if (it.$paramId === parentId) {
2166
+ if (String(it.$paramId) === String(parentId)) {
2167
2167
  return _objectSpread2(_objectSpread2({}, it), {}, {
2168
- children: (it.children || []).concat(_this2.props.targetParams.map(function ($paramId) {
2168
+ children: (it.children || []).filter(filter).concat(_this2.props.targetParams.map(function ($paramId) {
2169
2169
  return _objectSpread2(_objectSpread2({}, _this2.state.paramsMap[$paramId]), {}, {
2170
2170
  parentId: it.$paramId
2171
2171
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",