diff --git a/subpkg/chatMang/index.vue b/subpkg/chatMang/index.vue index 06924ff..e140a59 100644 --- a/subpkg/chatMang/index.vue +++ b/subpkg/chatMang/index.vue @@ -496,12 +496,12 @@ }, onLoad() { - console.log(F) + let user = JSON.parse(uni.getStorageSync('USER_INFO')) this.a = user.avatar console.log(user.avatar) uni.connectSocket({ - url: 'wss://worker-task.lihaink.cn/wss' + url: 'wss://ceshi-worker-task.lihaink.cn/im' }); uni.onSocketOpen(function(res) { console.log('WebSocket连接已打开!');