mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-13 10:57:10 +08:00
style: 优化部分样式
This commit is contained in:
@@ -48,7 +48,7 @@ const getMessageData = async () => {
|
||||
|
||||
// 打开消息中心
|
||||
const open = () => {
|
||||
window.open('/#/setting/message')
|
||||
window.open('/setting/message')
|
||||
}
|
||||
|
||||
// 全部已读
|
||||
|
||||
@@ -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