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

+ 2 - 0
public/h5/datigame/js/common.js

@@ -72,6 +72,8 @@ common={
         }else if(data.info.players){
           $("#py2_avatar").html('<img src="' + data.info.players.avatar + '" class="layui-circle">');
           $("#py2_username").html(data.info.players.name);
+           $(".g-doc .g-inner").removeClass("gstart");
+            $(".g-doc .g-inner").addClass("doing");
         }
  		 
  	},onSocket:function(e){