修复弹出多个窗口的时,关闭其中一个后,遮挡层被关闭问题

This commit is contained in:
dgflash
2024-11-01 16:19:07 +08:00
parent 3a3c7e9698
commit 2841eda4d2

View File

@@ -54,9 +54,9 @@ export class LayerPopUp extends LayerUI {
// 所有弹窗关闭后,关闭事件阻挡功能
if (this.ui_nodes.size == 0) {
this.black.enabled = false;
this.closeVacancyRemove();
this.closeMask();
}
this.closeVacancyRemove();
this.closeMask();
}
/** 关闭遮罩 */