fix: 🐛 修改因为Im导致微信小程序编译不通过问题 更改看到的变量名问题 im后续会进行优化

This commit is contained in:
学习很差啦
2023-01-10 15:21:18 +08:00
parent d2ff0b1ea1
commit b1bde2f105
7 changed files with 53 additions and 52 deletions

View File

@@ -34,7 +34,7 @@ export default class SocketService {
if (!window.WebSocket) {
return console.log("您的浏览器不支持WebSocket");
}
this.ws = new WebSocket(config.BASE_WS_URL+'/'+storage.getAccessToken());
this.ws = new WebSocket(config.baseWsUrl+'/'+storage.getAccessToken());
// 连接成功的事件
this.ws.onopen = () => {
console.log("连接服务端成功");