优化店铺切换商品展示

This commit is contained in:
gyq
2025-03-26 09:48:23 +08:00
parent 4245b5a098
commit 95ab7730f5
12 changed files with 100 additions and 34 deletions

View File

@@ -270,6 +270,8 @@ async function createOrderHandle(t = 0) {
goodsStore.orderListInfo = res
if (t == 1) {
// 向其他端发送清空购物车消息
goodsStore.operateCart({ table_code: goodsStore.orderListInfo.tableCode }, "cleanup");
settleAccountRef.value.show(t)
} else {
goodsStore.clearCart()