Commit 764b490c authored by wildfirecode's avatar wildfirecode

1

parent 0513207e
...@@ -181,6 +181,11 @@ class Main extends MainBase { ...@@ -181,6 +181,11 @@ class Main extends MainBase {
// Waiting.instance.hide(); // Waiting.instance.hide();
// return; // return;
GameConst.stage = this.stage;
setTimeout(() => {
console.log(GameConst.stage.width, GameConst.stage.height)
}, 100);
if (window['pageID']) { if (window['pageID']) {
Buried.init(); Buried.init();
// if (GameConst.getQueryString("InviteSource")) { // if (GameConst.getQueryString("InviteSource")) {
...@@ -220,10 +225,7 @@ class Main extends MainBase { ...@@ -220,10 +225,7 @@ class Main extends MainBase {
//获取UA信息 //获取UA信息
let userAgent = navigator.userAgent.toLowerCase(); let userAgent = navigator.userAgent.toLowerCase();
console.log(userAgent); console.log(userAgent);
GameConst.stage = this.stage;
setTimeout(() => {
console.log(GameConst.stage.width, GameConst.stage.height)
}, 100);
Buried.init(); Buried.init();
// 端内发接口 // 端内发接口
......
...@@ -175,9 +175,9 @@ export default class TransScene extends Scene { ...@@ -175,9 +175,9 @@ export default class TransScene extends Scene {
// } // }
// }, window['projectId'], GameConst.getQueryString("shareCode")); // }, window['projectId'], GameConst.getQueryString("shareCode"));
// setTimeout(() => { setTimeout(() => {
// this.onshake(); this.onshake();
// }, 3000); }, 1000);
}, this); }, this);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment