|
@@ -6,7 +6,7 @@ common={
|
|
|
WebSocket:"",
|
|
|
bdSocket:"Home/User/Bind",
|
|
|
Join:"Home/User/Join",
|
|
|
- Answer:"Home/User/Answer",
|
|
|
+ Answer:"Home/Game/Answer",
|
|
|
Join:"Home/Game/Join",
|
|
|
uid:"",
|
|
|
},userInfo:{
|
|
@@ -146,9 +146,12 @@ common={
|
|
|
if(l>0)return;
|
|
|
$(this).addClass("cur_answer");
|
|
|
_this.data.option_id=$(this).attr("data-option_id");
|
|
|
- _this.Answer(function(){
|
|
|
+ if(!_this.data.isAnswer){
|
|
|
_this.data.isAnswer=true;
|
|
|
- });
|
|
|
+ _this.Answer(function(){
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
},listen:function(){
|
|
|
var _this=this;
|