feat:统一订阅

This commit is contained in:
leilei
2025-11-24 10:10:26 +08:00
parent c9e5ae8da4
commit 6600c7c282
5 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ export const WhiteboardSync = {
}
// 订阅当前房间
const topic = `xSynergy/ROOM/${roomUid}/whiteboard/#`;
const topic = `xsynergy/room/${roomUid}/whiteboard/#`;
mqttClient.subscribe(topic, async (shapeData) => {
const shapeDataNew = JSON.parse(shapeData.toString())
// const shapeDataNew = decode(message);