Commit 08838809 authored by 李维's avatar 李维

修复线上反复回调导致的异常

parent e3162f23
...@@ -51,6 +51,9 @@ cc.Class({ ...@@ -51,6 +51,9 @@ cc.Class({
cc.debug.setDisplayStats(false); cc.debug.setDisplayStats(false);
this.initSceneData(); this.initSceneData();
this.initSize(); this.initSize();
if (window && window["air"]) {
window["air"].hideAirClassLoading();
}
}, },
initSceneData() { initSceneData() {
...@@ -347,9 +350,7 @@ cc.Class({ ...@@ -347,9 +350,7 @@ cc.Class({
this.initMask(); this.initMask();
this.getState(() => { this.getState(() => {
if (window && window["air"]) {
window["air"].hideAirClassLoading();
}
this.initView(); this.initView();
this.initListener(); this.initListener();
......
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