Browse Source

商城跳转修改

huangxiaoyue 1 year ago
parent
commit
a9994f4e5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Store/StoreView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/StoreView.cs

@@ -77,7 +77,7 @@ namespace GFGGame
             _ui.m_comTab.target.scrollPane.SetPercX((float)(_curTabIndex - 1) / (float)StoreTabCfgArray.Instance.dataArray.Length, false);
 
             _curSubTabIndex = this.viewData == null ? 0 : (int)(this.viewData as object[])[1];
-            if (_curTabIndex == ConstStoreTabId.STORE_GIFT_BAG && _curSubTabIndex > 0 && !ShopDataManager.Instance.GetShopActivityIsShow(_curSubTabIndex)) {
+            if (_curTabIndex == ConstStoreTabId.STORE_GIFT_BAG && _curSubTabIndex > 0 && !ShopDataManager.Instance.GetShopActivityIsShow(ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY)) {
                 _curSubTabIndex -= 1;
             }
             if (_ui.m_listSubTab.numItems > _curSubTabIndex)