Commit a71089ea authored by wildfirecode's avatar wildfirecode

1

parent 764b490c
...@@ -37,16 +37,16 @@ export default class TransScene extends Scene { ...@@ -37,16 +37,16 @@ export default class TransScene extends Scene {
this['btn'].visible = true; this['btn'].visible = true;
}, window['projectId']); }, window['projectId']);
} else { } else {
location.href = `${window['indexUrl']}?wayId=2`; location.href = `${window['indexUrl']}?wayId=2`;
} }
} else { } else {
location.href = `${window['indexUrl']}?wayId=2`; location.href = `${window['indexUrl']}?wayId=2`;
} }
}, window['projectId'], GameConst.getQueryString("shareCode")); }, window['projectId'], GameConst.getQueryString("shareCode"));
// if (iswx()) { // if (iswx()) {
// } else { // } else {
NetManager.ins.showLog(getlogItem(8)); NetManager.ins.showLog(getlogItem(8));
// } // }
this.once(egret.Event.ADDED_TO_STAGE, () => { this.once(egret.Event.ADDED_TO_STAGE, () => {
...@@ -149,6 +149,8 @@ export default class TransScene extends Scene { ...@@ -149,6 +149,8 @@ export default class TransScene extends Scene {
} }
const data = DataManager.ins.getData('accept').data; const data = DataManager.ins.getData('accept').data;
if (!data)
console.log('accept 接口 data为空')
data.from = 'TransScene'; data.from = 'TransScene';
SceneCtrl.instance.change(ModuleTypes.CertificateScene, data); SceneCtrl.instance.change(ModuleTypes.CertificateScene, data);
}, this); }, this);
...@@ -175,9 +177,9 @@ export default class TransScene extends Scene { ...@@ -175,9 +177,9 @@ export default class TransScene extends Scene {
// } // }
// }, window['projectId'], GameConst.getQueryString("shareCode")); // }, window['projectId'], GameConst.getQueryString("shareCode"));
setTimeout(() => { // setTimeout(() => {
this.onshake(); // this.onshake();
}, 1000); // }, 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