ts-glitter 21.2.6 → 21.2.8
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/lowcode/Entry.js +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/cms-plugin/pos-pages/payment-function.js +8 -6
- package/lowcode/cms-plugin/pos-pages/payment-function.ts +13 -12
- package/lowcode/public-components/checkout/index.js +10 -5
- package/lowcode/public-components/checkout/index.ts +13 -7
- package/package.json +1 -1
- package/src/api-public/controllers/shop.js +4 -4
- package/src/api-public/controllers/shop.js.map +1 -1
- package/src/api-public/controllers/shop.ts +1 -3
- package/src/api-public/services/shopping.js +3 -0
- package/src/api-public/services/shopping.js.map +1 -1
- package/src/api-public/services/shopping.ts +3 -0
|
@@ -809,6 +809,9 @@ export class Shopping {
|
|
|
809
809
|
})
|
|
810
810
|
.map((product: any) => {
|
|
811
811
|
product.content.designated_logistics = product.content.designated_logistics ?? { list: [], type: 'all' };
|
|
812
|
+
if(product.content.designated_logistics.group==='' && !product.content.designated_logistics.type){
|
|
813
|
+
product.content.designated_logistics={ list: [], type: 'all' };
|
|
814
|
+
}
|
|
812
815
|
product.content.collection = Array.from(
|
|
813
816
|
new Set(
|
|
814
817
|
(() => {
|