ls-pro-common 3.0.95 → 3.0.96

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/es/http/index.js CHANGED
@@ -203,6 +203,12 @@ function ajax(url) {
203
203
  return exitLoading();
204
204
  });
205
205
  } else {
206
+ // 如果sumProperties存在,则添加sumProperties参数到url中
207
+ if (params.sumProperties && typeof params.sumProperties === 'string') {
208
+ url = setUrlQuery(url, {
209
+ sumProperties: params.sumProperties
210
+ });
211
+ }
206
212
  return request.post(url, {
207
213
  data: params,
208
214
  timeout: timeout,
package/lib/http/index.js CHANGED
@@ -203,6 +203,12 @@ function ajax(url) {
203
203
  return exitLoading();
204
204
  });
205
205
  } else {
206
+ // 如果sumProperties存在,则添加sumProperties参数到url中
207
+ if (params.sumProperties && typeof params.sumProperties === 'string') {
208
+ url = setUrlQuery(url, {
209
+ sumProperties: params.sumProperties
210
+ });
211
+ }
206
212
  return request.post(url, {
207
213
  data: params,
208
214
  timeout: timeout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.95",
3
+ "version": "3.0.96",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [