initSocket 返回本身

This commit is contained in:
Luk Lu
2022-04-01 20:53:13 +08:00
parent d3395e98e7
commit a328c0c4ff

View File

@@ -49,7 +49,7 @@ export default {
})
}
return my.socket
return this
},
closeSocket(){
if (my.socket) my.socket.close()