소스 검색

更新 'games/yqrxd/launcher/egret_loader.js'

yunhaipiaodi 6 년 전
부모
커밋
5ca601b7e1
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      games/yqrxd/launcher/egret_loader.js

+ 4 - 0
games/yqrxd/launcher/egret_loader.js

@@ -55,6 +55,10 @@ egret_h5.startGame = function () {
               	if(rootContainer.curIsInfoPage()){      //内容页
                     rootContainer.startToGame();
                 }
+              
+              	  if(rootContainer.curIsInfoPage()){      //游戏页
+                    rootContainer.restartGame();
+                }
             }
         };
     }