future 1 년 전
부모
커밋
97b08ba05b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()
         })
     }
 }