Эх сурвалжийг харах

竞技场取消对手选择时未清除选中数据

zhaoyang 2 жил өмнө
parent
commit
4d593a81f8

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaDressInfoView.cs

@@ -72,6 +72,7 @@ namespace GFGGame
             _roleDatas = (this.viewData as object[])[2] as List<FightData>;
             _roleDatas = (this.viewData as object[])[2] as List<FightData>;
             _openViewName = (this.viewData as object[])[3].ToString();
             _openViewName = (this.viewData as object[])[3].ToString();
 
 
+            _ui.m_grhCloseComFightScore.visible = false;
             _ui.m_c1.selectedIndex = _roleType;
             _ui.m_c1.selectedIndex = _roleType;
             _ui.m_c2.selectedIndex = _themeIndex;
             _ui.m_c2.selectedIndex = _themeIndex;
             if (_sceneObject == null)
             if (_sceneObject == null)

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

@@ -244,6 +244,7 @@ namespace GFGGame
         private void OnBtnReSelectClick()
         private void OnBtnReSelectClick()
         {
         {
             _targetData = null;
             _targetData = null;
+            viewData = null;
             _ui.m_c1.selectedIndex = 0;
             _ui.m_c1.selectedIndex = 0;
 
 
             UpdateRole();
             UpdateRole();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/ArenaDressUpFightView.cs

@@ -115,7 +115,7 @@ namespace GFGGame
 
 
             _scoreIndex = _ui.m_partsList.m_comboBoxRarity.selectedIndex;
             _scoreIndex = _ui.m_partsList.m_comboBoxRarity.selectedIndex;
 
 
-
+            _ui.m_grhCloseComFightScore.visible = false;
             //一级菜单
             //一级菜单
             _ui.m_comListType1.m_listType.RemoveChildrenToPool();
             _ui.m_comListType1.m_listType.RemoveChildrenToPool();
             _ui.m_comListType1.m_listType.numItems = DressUpMenuItemCfg1Array.Instance.dataArray.Length - 3;
             _ui.m_comListType1.m_listType.numItems = DressUpMenuItemCfg1Array.Instance.dataArray.Length - 3;