Browse Source

创建和加入雅集时,去掉返回还打开选雅集界面

huangxiaoyue 1 year ago
parent
commit
cf1ca089b9

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/League/LeagueCreatView.cs

@@ -95,6 +95,8 @@ namespace GFGGame
             bool result = await LeagueSproxy.ReqCreateLeague(leagueName, GlobalCfgArray.globalCfg.badgeResArr[_ui.m_listIcon.selectedIndex]);
             if (result)
             {
+                this.Hide();
+                ViewManager.DeleteViewStackCountDown(null,1);
                 ViewManager.Show<LeagueView>(null, true);
             }
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueJoinView.cs

@@ -142,8 +142,8 @@ namespace GFGGame
                 bool result = await LeagueSproxy.ReqJoinLeague(leagueId);
                 if (result)
                 {
+                    ViewManager.DeleteViewStackCountDown(null, 1);
                     ViewManager.Show<LeagueView>();
-                    OnBtnBackClick();
                 }
             }
         }