@gt6/sdk 1.0.35 → 1.0.36
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/gt6-sdk.cjs.js +1 -1
- package/dist/gt6-sdk.cjs.js.map +1 -1
- package/dist/gt6-sdk.esm.js +1 -1
- package/dist/gt6-sdk.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/gt6-sdk.esm.js
CHANGED
@@ -785,7 +785,7 @@ class ProductsAPI {
|
|
785
785
|
const matchingTemplate = shippingInfo.templates.find(t => t.templateId === template.templateId);
|
786
786
|
if (matchingTemplate) {
|
787
787
|
// 过滤出产品可销售区域的规则
|
788
|
-
const productRegionIds = product.
|
788
|
+
const productRegionIds = product.regions_Parent.map(r => r.regionId);
|
789
789
|
const applicableRules = matchingTemplate.rules.filter(rule => productRegionIds.includes(rule.regionId));
|
790
790
|
return {
|
791
791
|
...template,
|