@@ -106,9 +106,10 @@ common={
this.Join();
else this.tips("登录失败");
},initSocket:function(){
+ var _this=this;
var ws = new WebSocket("ws://183.234.61.252:8282");
ws.onmessage=function(e){
- this.onSocket(e);
+ _this.onSocket(e);
}
},loadQuestion(responsedata) {