@lemon-fe/components 0.1.101 → 0.1.104

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.
@@ -112,13 +112,11 @@ export default function SelectView(props) {
112
112
  };
113
113
 
114
114
  var handleChangeParams = function handleChangeParams(mParams) {
115
- var nextParams = _objectSpread(_objectSpread({}, params), mParams);
116
-
117
115
  if (filter === null || filter === void 0 ? void 0 : filter.onChange) {
118
- filter.onChange(nextParams);
116
+ filter.onChange(mParams);
119
117
  }
120
118
 
121
- setParams(nextParams);
119
+ setParams(mParams);
122
120
  };
123
121
 
124
122
  var handleValuesChange = function handleValuesChange(changedValues, allValues) {
@@ -144,7 +142,9 @@ export default function SelectView(props) {
144
142
  if (filter.sider) {
145
143
  siderNode = filter.sider({
146
144
  value: params,
147
- onChange: handleChangeParams
145
+ onChange: function onChange(val) {
146
+ return handleChangeParams(_objectSpread(_objectSpread({}, params), val));
147
+ }
148
148
  });
149
149
  }
150
150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.1.101",
3
+ "version": "0.1.104",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -39,5 +39,5 @@
39
39
  "react": "^17.0.2",
40
40
  "react-dom": "^17.0.2"
41
41
  },
42
- "gitHead": "8c04f1424c67790d3d4f7218663fc221c8645e77"
42
+ "gitHead": "437d6fce894937122e473aa36da3d2bd4b3bc9f1"
43
43
  }