Commit 6497c3b5 authored by 张娇(东信)'s avatar 张娇(东信)

购物车渲染

parent 72c94007
...@@ -146,8 +146,8 @@ function toSettle() { ...@@ -146,8 +146,8 @@ function toSettle() {
}); });
return; return;
} }
const shopIds = cartList.value const shopIds = selected
.map((item) => item.shopId) .map((item) => item.basket.shopId)
.filter((value, index, self) => self.indexOf(value) === index); .filter((value, index, self) => self.indexOf(value) === index);
if (shopIds.length > 1) { if (shopIds.length > 1) {
xma.showToast({ xma.showToast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment