修复限时折扣问题

This commit is contained in:
2025-12-16 13:26:02 +08:00
parent aa41ecbc52
commit 90e75d0f7e
3 changed files with 149 additions and 51 deletions

View File

@@ -327,6 +327,15 @@
function socketInit() {
cartsSocket = useWebSocket();
cartStore.socketSendMsg=(data)=>{
cartsSocket.sendMessage({
...data,
table_code: uni.cache.get("tableCode"),
shop_id: uni.cache.get("shopId"),
})
}
cartsSocket.connect(socketInitPar, onMessage);
}
const noPayStatus = {