Browse Source

画廊排行榜预览后返回,列表数据丢失

zhaoyang 2 years ago
parent
commit
118c36be9e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

@@ -138,6 +138,7 @@ namespace GFGGame
 
 
                 UpdateList();
                 UpdateList();
                 UpdateGalleryList();
                 UpdateGalleryList();
+                UpdateGalleryRankList();
                 if (_tabIndex == TabType.RECOVER)
                 if (_tabIndex == TabType.RECOVER)
                 {
                 {
                     _ui.m_comNormal.m_c1.selectedIndex = _subtabIndex;
                     _ui.m_comNormal.m_c1.selectedIndex = _subtabIndex;
@@ -332,7 +333,7 @@ namespace GFGGame
                 }
                 }
                 else if (_subtabIndex == RecommendType.RANK)
                 else if (_subtabIndex == RecommendType.RANK)
                 {
                 {
-                    _galleryDatas = PoemGalleryDataManager.Instance.FrinedDatas;
+                    _galleryDatas = PoemGalleryDataManager.Instance.RankDatas;
                 }
                 }
                 _list = _ui.m_comNormal.m_comScroll.m_listRecommend;
                 _list = _ui.m_comNormal.m_comScroll.m_listRecommend;
                 _list1 = _ui.m_comNormal.m_comScroll.m_listRecommend1;
                 _list1 = _ui.m_comNormal.m_comScroll.m_listRecommend1;