feat: 新增通知公告发送ws消息

新增通知公告发送ws消息
This commit is contained in:
胡少翔
2024-09-14 11:06:40 +08:00
parent f34df2bb40
commit da2aba757a
5 changed files with 39 additions and 96 deletions

View File

@@ -391,7 +391,6 @@ const getNoticeLevelTag = (type: number) => {
function connectWebSocket() {
WebSocketManager.getWebSocketClient("/topic/onlineUserCount", (message) => {
console.log("收到消息:", message);
onlineUserCount.value = JSON.parse(message);
});
}