Explorar el Código

修复公告显示问题

leiyasi hace 1 año
padre
commit
a4a512c0b4
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. 6 4
      GameClient/Assets/Game/HotUpdate/Views/Notice/NoticeView.cs

+ 6 - 4
GameClient/Assets/Game/HotUpdate/Views/Notice/NoticeView.cs

@@ -166,7 +166,6 @@ namespace GFGGame
             {
                 //Hide();
                 ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex, false, false);
-
             }
             else
             {
@@ -268,9 +267,12 @@ namespace GFGGame
 
         private void UpdateRedDot()
         {
-            OnCtrlChange();
-            UpdateInfo();
-            UpdateTitleRedDot();
+            if(_ui.m_c1.selectedIndex == 0)
+            {
+                OnCtrlChange();
+                UpdateInfo();
+                UpdateTitleRedDot();
+            }
         }
     }
 }