@kmkf-fe-packages/basic-components 1.8.0-beta.5 → 1.8.0-beta.6
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/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -9083,7 +9083,7 @@ var Goods = function Goods(props) {
|
|
|
9083
9083
|
if (numIndex < 0) return;
|
|
9084
9084
|
var newList = JSON.parse(JSON.stringify(imgList));
|
|
9085
9085
|
// 判断抖音是否需要用code覆盖商品编码
|
|
9086
|
-
var needSetOuterId = !
|
|
9086
|
+
var needSetOuterId = !newList[numIndex].outerId || newList[numIndex].outerId === newList[numIndex].outerSkuId;
|
|
9087
9087
|
if (type === 4) {
|
|
9088
9088
|
newList[numIndex].itemId = enableItemId;
|
|
9089
9089
|
newList[numIndex].supplierName = enableSupplierName;
|
|
@@ -9457,7 +9457,7 @@ var GoodItem = function GoodItem(props) {
|
|
|
9457
9457
|
if (numIndex < 0) return;
|
|
9458
9458
|
var newList = JSON.parse(JSON.stringify(imgList));
|
|
9459
9459
|
// 判断抖音是否需要用code覆盖商品编码
|
|
9460
|
-
var needSetOuterId = !
|
|
9460
|
+
var needSetOuterId = !newList[numIndex].outerId || newList[numIndex].outerId === newList[numIndex].outerSkuId;
|
|
9461
9461
|
if (type === 4) {
|
|
9462
9462
|
newList[numIndex].itemId = enableItemId;
|
|
9463
9463
|
newList[numIndex].supplierName = enableSupplierName;
|
package/dist/index.js
CHANGED
|
@@ -9095,7 +9095,7 @@ var Goods = function Goods(props) {
|
|
|
9095
9095
|
if (numIndex < 0) return;
|
|
9096
9096
|
var newList = JSON.parse(JSON.stringify(imgList));
|
|
9097
9097
|
// 判断抖音是否需要用code覆盖商品编码
|
|
9098
|
-
var needSetOuterId = !
|
|
9098
|
+
var needSetOuterId = !newList[numIndex].outerId || newList[numIndex].outerId === newList[numIndex].outerSkuId;
|
|
9099
9099
|
if (type === 4) {
|
|
9100
9100
|
newList[numIndex].itemId = enableItemId;
|
|
9101
9101
|
newList[numIndex].supplierName = enableSupplierName;
|
|
@@ -9469,7 +9469,7 @@ var GoodItem = function GoodItem(props) {
|
|
|
9469
9469
|
if (numIndex < 0) return;
|
|
9470
9470
|
var newList = JSON.parse(JSON.stringify(imgList));
|
|
9471
9471
|
// 判断抖音是否需要用code覆盖商品编码
|
|
9472
|
-
var needSetOuterId = !
|
|
9472
|
+
var needSetOuterId = !newList[numIndex].outerId || newList[numIndex].outerId === newList[numIndex].outerSkuId;
|
|
9473
9473
|
if (type === 4) {
|
|
9474
9474
|
newList[numIndex].itemId = enableItemId;
|
|
9475
9475
|
newList[numIndex].supplierName = enableSupplierName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "04b97d0e42072c5fe31ec0cf0a7751768ff13aa9"
|
|
69
69
|
}
|