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);