From 62fa77d5f21aebc6969ae181f42103b5cf6a1db7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 05 十二月 2024 19:12:17 +0800
Subject: [PATCH] 0312 跳转打断导致主界面不打开的问题
---
System/WindowBase/WindowCenter.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/System/WindowBase/WindowCenter.cs b/System/WindowBase/WindowCenter.cs
index 5ae39cd..2eef1d2 100644
--- a/System/WindowBase/WindowCenter.cs
+++ b/System/WindowBase/WindowCenter.cs
@@ -496,7 +496,7 @@
internal void NotifyBeforeOpen<T>(T window) where T : Window
{
- if (window is not MainInterfaceWin)
+ if (ConfigInitiator.done && window is not MainInterfaceWin && !WindowJumpMgr.Instance.IsJumpState)
CalcMainInterfaceWin();
if (windowBeforeOpenEvent != null)
@@ -531,7 +531,7 @@
internal void JumpNotifyAfterClose<T>(T window) where T : Window
{
- if (window is not MainInterfaceWin)
+ if (ConfigInitiator.done && window is not MainInterfaceWin && !WindowJumpMgr.Instance.IsJumpState)
CalcMainInterfaceWin();
if (jumpWindowCloseEvent != null)
{
@@ -628,7 +628,7 @@
}
//涓荤晫闈㈢殑寮�鍏抽粯璁ゅ鐞�
- void CalcMainInterfaceWin()
+ public void CalcMainInterfaceWin()
{
if (!StageLoad.Instance.isLoading)
{
--
Gitblit v1.8.0