mzx16822 hace 6 años
padre
commit
e1da5ddd44
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      public/h5/datigame/js/common.js

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

@@ -70,7 +70,8 @@ common={
    //          $("#py1_avatar").html('<img src="' + data.info.user.avatar+ '" class="layui-circle">');
    //          $("#py1_username").html(data.info.user.name + '(我)');
    //      }
-        if(data.info.user.user_id){
+   this.tips(data.info.user.name+"加入了房间")
+        if(data.info.user.user_id!=this.userInfo.user_id){
         	 $("#py2_avatar").html('<img src="' + data.info.user.avatar+ '" class="layui-circle">');
             $("#py2_username").html(data.info.user.name);