ls-pro-common 3.1.29 → 3.1.30

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.
@@ -1,6 +1,6 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
2
  import _regeneratorRuntime from "@babel/runtime/regenerator";
3
- import { httpGet } from '.';
3
+ import { httpBatchGet } from '.';
4
4
  import { getCache, setCache } from '../utils';
5
5
  function setPageSize() {
6
6
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -37,7 +37,7 @@ function _httpGetWithCache() {
37
37
  return _context2.abrupt("return", cacheData);
38
38
  case 5:
39
39
  _context2.next = 7;
40
- return httpGet(url, params);
40
+ return httpBatchGet(url, params);
41
41
  case 7:
42
42
  result = _context2.sent;
43
43
  if ((result === null || result === void 0 ? void 0 : (_result$flag = result.flag) === null || _result$flag === void 0 ? void 0 : _result$flag.retCode) === '0') {
package/es/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export * from './http';
9
9
  export { default as BaseService } from './service/BaseService';
10
10
  /** 导出进度及完成后自动下载 */
11
11
  export { default as exportProcess } from './utils/exportProcess';
12
- /** Utils方法 */
12
+ /** Utils 方法,放在第一层级,方便调用 */
13
13
  export * from './utils';
14
14
  /** 主数据请求 */
15
15
  import * as mdmRequest from './http/mdmRequest';
package/es/index.js CHANGED
@@ -9,7 +9,7 @@ export * from './http';
9
9
  export { default as BaseService } from './service/BaseService';
10
10
  /** 导出进度及完成后自动下载 */
11
11
  export { default as exportProcess } from './utils/exportProcess';
12
- /** Utils方法 */
12
+ /** Utils 方法,放在第一层级,方便调用 */
13
13
  export * from './utils';
14
14
  /** 主数据请求 */
15
15
  import * as mdmRequest from './http/mdmRequest';
@@ -1,6 +1,6 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
2
  import _regeneratorRuntime from "@babel/runtime/regenerator";
3
- import { httpGet } from '.';
3
+ import { httpBatchGet } from '.';
4
4
  import { getCache, setCache } from '../utils';
5
5
  function setPageSize() {
6
6
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -37,7 +37,7 @@ function _httpGetWithCache() {
37
37
  return _context2.abrupt("return", cacheData);
38
38
  case 5:
39
39
  _context2.next = 7;
40
- return httpGet(url, params);
40
+ return httpBatchGet(url, params);
41
41
  case 7:
42
42
  result = _context2.sent;
43
43
  if ((result === null || result === void 0 ? void 0 : (_result$flag = result.flag) === null || _result$flag === void 0 ? void 0 : _result$flag.retCode) === '0') {
package/lib/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export * from './http';
9
9
  export { default as BaseService } from './service/BaseService';
10
10
  /** 导出进度及完成后自动下载 */
11
11
  export { default as exportProcess } from './utils/exportProcess';
12
- /** Utils方法 */
12
+ /** Utils 方法,放在第一层级,方便调用 */
13
13
  export * from './utils';
14
14
  /** 主数据请求 */
15
15
  import * as mdmRequest from './http/mdmRequest';
package/lib/index.js CHANGED
@@ -9,7 +9,7 @@ export * from './http';
9
9
  export { default as BaseService } from './service/BaseService';
10
10
  /** 导出进度及完成后自动下载 */
11
11
  export { default as exportProcess } from './utils/exportProcess';
12
- /** Utils方法 */
12
+ /** Utils 方法,放在第一层级,方便调用 */
13
13
  export * from './utils';
14
14
  /** 主数据请求 */
15
15
  import * as mdmRequest from './http/mdmRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.1.29",
3
+ "version": "3.1.30",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [