mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-12 05:01:39 +08:00
style: 优化部分样式
This commit is contained in:
@@ -99,8 +99,7 @@ const initWebSocket = (token: string) => {
|
||||
}
|
||||
|
||||
socket.onmessage = (event) => {
|
||||
const data = JSON.parse(event.data)
|
||||
unreadMessageCount.value = Number.parseInt(data?.content)
|
||||
unreadMessageCount.value = Number.parseInt(event.data)
|
||||
}
|
||||
|
||||
socket.onerror = () => {
|
||||
|
||||
Reference in New Issue
Block a user