diff --git a/src/components/lottery/LotteryGame.vue b/src/components/lottery/LotteryGame.vue index 7a9e1e8..f392720 100644 --- a/src/components/lottery/LotteryGame.vue +++ b/src/components/lottery/LotteryGame.vue @@ -56,7 +56,7 @@ const countDownTime = new CountDown(0, (hh, mm, ss, t) => { const io = socket(); -io.emit("join", id); +io.emit("join", `game_${id}`); io.on("game-info", (data) => { const { name, session, end } = data;