mzx16822 6 年 前
コミット
8432605d00
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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){