@pisell/pisellos 0.0.425 → 0.0.426
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.
|
@@ -33,9 +33,14 @@ export var formatDefaultCapacitys = function formatDefaultCapacitys(_ref) {
|
|
|
33
33
|
window.sendWarningLog({
|
|
34
34
|
title: '未找到套餐 capacity 配置',
|
|
35
35
|
content: [{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
key: 'product_id',
|
|
37
|
+
value: id
|
|
38
|
+
}, {
|
|
39
|
+
key: 'variant_id',
|
|
40
|
+
value: variantId
|
|
41
|
+
}, {
|
|
42
|
+
key: 'package',
|
|
43
|
+
value: JSON.stringify((capacity === null || capacity === void 0 ? void 0 : capacity.package) || [])
|
|
39
44
|
}]
|
|
40
45
|
});
|
|
41
46
|
}
|
|
@@ -54,7 +54,20 @@ var formatDefaultCapacitys = ({
|
|
|
54
54
|
if (!item && (window == null ? void 0 : window.sendWarningLog)) {
|
|
55
55
|
window.sendWarningLog({
|
|
56
56
|
title: "未找到套餐 capacity 配置",
|
|
57
|
-
content: [
|
|
57
|
+
content: [
|
|
58
|
+
{
|
|
59
|
+
key: "product_id",
|
|
60
|
+
value: id
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
key: "variant_id",
|
|
64
|
+
value: variantId
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
key: "package",
|
|
68
|
+
value: JSON.stringify((capacity == null ? void 0 : capacity.package) || [])
|
|
69
|
+
}
|
|
70
|
+
]
|
|
58
71
|
});
|
|
59
72
|
}
|
|
60
73
|
return {
|