|
@@ -275,7 +275,7 @@ const setInitSocket = () => {
|
|
if (data) {
|
|
if (data) {
|
|
msgCount.value = JSON.parse(data)
|
|
msgCount.value = JSON.parse(data)
|
|
}
|
|
}
|
|
- // console.log(data,'消息信息')
|
|
|
|
|
|
+ console.log(data,'消息信息')
|
|
};
|
|
};
|
|
socket.onerror = function ({data}) {
|
|
socket.onerror = function ({data}) {
|
|
console.log('发生错误:', data)
|
|
console.log('发生错误:', data)
|