Просмотр исходного кода

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

yunhaipiaodi лет назад: 6
Родитель
Сommit
cb3ebc8f08
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      games/yqrxd/launcher/egret_loader.js

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

@@ -48,11 +48,11 @@ egret_h5.startGame = function () {
             }
           	
           	if(e && e.keyCode == 13){       
-                if(rootContainer.curIsHomePage()){		//确定键
-					rootContainer.startToGame();
+                if(rootContainer.curIsHomePage()){      //首页
+                    rootContainer.enterInfoPage();
                 }
-              
-              	if(rootContainer.curIsInfoPage()){      //内容页
+
+                if(rootContainer.curIsInfoPage()){      //内容页
                     rootContainer.startToGame();
                 }