@kmkf-fe-packages/kmkf-utils 2.0.44 → 2.0.47

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/README.md CHANGED
@@ -1 +1 @@
1
- 11231
1
+ 1123111
@@ -24,7 +24,8 @@ var taobaoGoodHandle = function taobaoGoodHandle() {
24
24
  var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
25
25
  var type = arguments.length > 1 ? arguments[1] : undefined;
26
26
  var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
27
- console.log(arr, type, config);
27
+ console.log("taobaoGoodHandle--", arr, type, config);
28
+ if (type === "ITEM_ENCODE" && config !== null && config !== void 0 && config.notPlatformOrderBack) return [];
28
29
  var changeSku = config.changeSku;
29
30
  // 存放从ERP获取的SKU规格信息
30
31
  var newList = arr === null || arr === void 0 ? void 0 : arr.map(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.0.44",
3
+ "version": "2.0.47",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "20ac9a7a67b69931f4920c1492a43261a080ba3d",
44
+ "gitHead": "a680d7d4952b6e9ac0d19f567b827244f8e6b9fd",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }