mzx16822 6 years ago
parent
commit
8432605d00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/h5/datigame/js/common.js

+ 1 - 1
public/h5/datigame/js/common.js

@@ -74,7 +74,7 @@ common={
         }
  		 
  	},onSocket:function(e){
- 		var data=JSON.stringify(e.data);
+ 		var data=JSON.parse(e.data);
  			var _this=this;
  		var type=data.type;
  		switch(type){