Browse Source

阳春花蔓跳转到任务在跳转到飞花令,小弹窗叠住飞花令问题

huangxiaoyue 1 year ago
parent
commit
b385f49778

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxTaskView.cs

@@ -118,7 +118,6 @@ namespace GFGGame
 
 
         private void OnBtnGoClick(EventContext context)
         private void OnBtnGoClick(EventContext context)
         {
         {
-            // Hide();
             if (!(context.sender is GObject btnGo)) return;
             if (!(context.sender is GObject btnGo)) return;
             TaskCfg taskCfg = btnGo.data as TaskCfg;
             TaskCfg taskCfg = btnGo.data as TaskCfg;
             object[] param = new object[taskCfg.jumpParamArr.Length];
             object[] param = new object[taskCfg.jumpParamArr.Length];
@@ -128,6 +127,7 @@ namespace GFGGame
             }
             }
             ViewManager.JumpToView(taskCfg.jumpId, param,
             ViewManager.JumpToView(taskCfg.jumpId, param,
                 new object[] { typeof(ActivityThemeLuckyBoxView).FullName, true });
                 new object[] { typeof(ActivityThemeLuckyBoxView).FullName, true });
+            Hide();
         }
         }
     }
     }
 }
 }