diff --git a/mobile/room/liveRoom.html b/mobile/room/liveRoom.html index 9dcfee1..97c815a 100644 --- a/mobile/room/liveRoom.html +++ b/mobile/room/liveRoom.html @@ -834,7 +834,8 @@ $(function(){ // console.log('视频加载检测',data) } }) - }else{ + } + else{ var player = document.getElementById('myVideo'); player.play() startTime=new Date().getTime() @@ -2482,6 +2483,14 @@ $(function(){ pageID: localStorage.canvasCode }, success:function(data){ + if(data.code==-1000){ + window.localStorage.removeItem("uid") + window.localStorage.removeItem("token") + setTimeout(function(){ + window.location.reload() + }, 1000); + return; + } // console.log('剩余寶石数',data) $(".gift-layer-diamond-box span").text(data.diamond_num) sessionStorage.dew=data.chip_num