@ives_xxz/framework 2.1.35 → 2.1.37

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.
@@ -186,6 +186,12 @@ export class FWLayerManager extends FWManager implements FW.LayerManager {
186
186
  return FW.Entry.promiseMgr.execute(async (resolve, reject) => {
187
187
  let layerData = ctr.layerData;
188
188
 
189
+ if (this.debug) {
190
+ FW.Log.error(
191
+ `${cc.js.getClassName(layerData?.controllerConstructor)} ->关闭Layer`,
192
+ );
193
+ }
194
+
189
195
  if (cc.isValid(ctr.layer?.node)) {
190
196
  this.stateManager.setState(
191
197
  ctr.layerData.controllerConstructor,
@@ -784,7 +790,7 @@ class FWLayerStateManager {
784
790
 
785
791
  removeState(ctrType: new () => FW.LayerController): void {
786
792
  if (FW.Entry.layerMgr.isDebug()) {
787
- FW.Log.debug(`${cc.js.getClassName(ctrType)}->移除状态`);
793
+ FW.Log.debug(`${cc.js.getClassName(ctrType)}-> 移除状态`);
788
794
  }
789
795
  this.layerStates.delete(ctrType);
790
796
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/framework",
3
- "version": "2.1.35",
3
+ "version": "2.1.37",
4
4
  "description": "cocoscreator 2.x mvc framework",
5
5
  "main": "index.js",
6
6
  "keywords": [