@kmkf-fe-packages/kmkf-utils 0.10.0 → 0.10.3
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.
|
@@ -10,6 +10,7 @@ import ExpressInterceptData from "../expressInterceptData";
|
|
|
10
10
|
import AddressData from "../addressData";
|
|
11
11
|
import { bsOrderBackFormValues } from "./bsOrderBackFormValues";
|
|
12
12
|
import jstOrderBackFormValues from "./jstOrderBackFormValues";
|
|
13
|
+
import isNull from "./isNull";
|
|
13
14
|
|
|
14
15
|
// 淘宝商品组件信息处理
|
|
15
16
|
|
|
@@ -36,7 +37,7 @@ var taobaoGoodHandle = function taobaoGoodHandle() {
|
|
|
36
37
|
itemId: skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.itemId,
|
|
37
38
|
supplierName: skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.supplierName
|
|
38
39
|
};
|
|
39
|
-
if (skuInfoDTO) {
|
|
40
|
+
if (skuInfoDTO && !isNull(skuInfoDTO)) {
|
|
40
41
|
params.picUrl = skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.picUrl;
|
|
41
42
|
params.price = skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.price;
|
|
42
43
|
params.skuId = skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.skuId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-utils",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"gitHooks": {
|
|
43
43
|
"pre-commit": "lint-staged"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "1af0c41f4802ef4a21314f67e394d85e7c9a401c"
|
|
46
46
|
}
|