Commit ac422f77 by chenwq

fix(购物车组件): 在购物车列表中添加备注字段

将备注字段(remark)添加到购物车列表的提交参数中,确保下单时能正确传递商品备注信息
1 parent 9ff36b66
......@@ -417,7 +417,7 @@ export default {
cityName,
areaId,
areaName,
shoppingCarList: this.selectList.map(item => ({ id: item.id, goodsNumber: item.goodsNumber })),
shoppingCarList: this.selectList.map(item => ({ id: item.id, goodsNumber: item.goodsNumber, remark: item.remark })),
remark: this.remarks
}
// console.log(params)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!