From 2c7115f59cd8ca8b7f6b842e886736393f88ac2a Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 30 十月 2018 21:22:02 +0800
Subject: [PATCH] 4340 【前端】支持xlua方便IOS提审

---
 System/FindPrecious/LootPreciousFrameWin.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/System/FindPrecious/LootPreciousFrameWin.cs b/System/FindPrecious/LootPreciousFrameWin.cs
index 958fb41..c561645 100644
--- a/System/FindPrecious/LootPreciousFrameWin.cs
+++ b/System/FindPrecious/LootPreciousFrameWin.cs
@@ -84,8 +84,11 @@
 
         private void CloseSubWindows()
         {
-            WindowCenter.Instance.CloseImmediately<DemonJarWin>();
-            WindowCenter.Instance.CloseImmediately<DogzDungeonWin>();
+            var children = WindowConfig.Get().FindChildWindows("LootPreciousFrameWin");
+            foreach (var window in children)
+            {
+                WindowCenter.Instance.Close(window);
+            }
         }
 
         private void ShowLastFunction()

--
Gitblit v1.8.0