@cc-component/cc-core 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -366,7 +366,7 @@ export class App {
366
366
  await new Promise<void>(resolve => { App.gui.progess?.open?.(param, () => { resolve() }) })
367
367
  //关闭所有窗口
368
368
  await App.CloseAll([LayerType.LayerUI, LayerType.LayerDialog, LayerType.LayerPopUp, LayerType.LayerGame])
369
- App.scenesParm.param = param
369
+ App.scenesParm.param = param?.param
370
370
  let scene = await ResourceManager.loadScene(param.bundleName, param.sceneName, (pro) => { });
371
371
  if (scene) {
372
372
  ResourceManager.runScene(scene);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-core",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",