From cc6b76ffbcd764f2f7daaec4c14559aa984364de Mon Sep 17 00:00:00 2001 From: liujiangnan <695541723@qq.com> Date: Tue, 14 Dec 2021 16:30:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/cocos_generator/script/MyCocosSceneComponent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/cocos_generator/script/MyCocosSceneComponent.ts b/assets/cocos_generator/script/MyCocosSceneComponent.ts index 350cd95..293015c 100644 --- a/assets/cocos_generator/script/MyCocosSceneComponent.ts +++ b/assets/cocos_generator/script/MyCocosSceneComponent.ts @@ -172,6 +172,8 @@ export class MyCocosSceneComponent extends cc.Component { }); } }); + }else{ + cb && cb(); } } } \ No newline at end of file -- 2.21.0