@cc-component/cc-core 1.2.3 → 1.2.5
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.
|
@@ -899,12 +899,12 @@ export class MainModule {
|
|
|
899
899
|
// 移除窗口记录
|
|
900
900
|
private removeWindowRecord(className: string) {
|
|
901
901
|
const config = MainModule.Ins.openedWindowsConfig.get(className);
|
|
902
|
+
const list_layer = MainModule.Ins.openWindowLayer.get(config.layer)
|
|
903
|
+
list_layer.pop();//移除最后一个
|
|
902
904
|
if (config.layer === LayerType.LayerUI) {
|
|
903
|
-
const list_layer = MainModule.Ins.openWindowLayer.get(config.layer)
|
|
904
|
-
list_layer.pop();//移除最后一个
|
|
905
905
|
this.ShowLayerUI(config, true)
|
|
906
|
-
Logger.debug('LayerType.LayerUI 移除窗口记录:', className, list_layer);
|
|
907
906
|
}
|
|
907
|
+
Logger.debug('LayerType.LayerUI 移除窗口记录:', className, list_layer);
|
|
908
908
|
|
|
909
909
|
this.openedWindows.delete(className);
|
|
910
910
|
this.openedWindowsConfig.delete(className);
|