From 4b8bbc9efe7b02edfde4cfb4ae6cf3b7f7119f87 Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 10 Apr 2024 23:36:46 +0800 Subject: [PATCH] fix: voucher --- wx-combining.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx-combining.html b/wx-combining.html index 2093af6..857b68a 100644 --- a/wx-combining.html +++ b/wx-combining.html @@ -345,7 +345,7 @@ let all_product_voucher = []; new_data.product.forEach(item => { - all_product_voucher.concat(item.voucher) + all_product_voucher = all_product_voucher.concat(item.voucher) }) console.log("all_product_voucher =>", all_product_voucher);