future 1 năm trước cách đây
mục cha
commit
97b08ba05b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      assets/script/main.ts

+ 1 - 1
assets/script/main.ts

@@ -37,8 +37,8 @@ export class main extends Component {
     
     private showHomeView(cb) {
         uiManager.Instance().showUi(config.UI.home,this.home_node,(node:Node)=>{
-            cb && cb()
             node.getComponent(home).init()
+            cb && cb()
         })
     }
 }