Browse Source

购买月卡报错

zhaoyang 2 years ago
parent
commit
0f3bbd7d62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Store/StoreMonthView.cs

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

@@ -137,7 +137,7 @@ namespace GFGGame
             _ui.m_btnBuy.m_grpOriginalPrice.visible = isFirstBuy && shopCfg.oncePrice < shopCfg.price;
             _ui.m_btnBuy.m_grpOriginalPrice.visible = isFirstBuy && shopCfg.oncePrice < shopCfg.price;
             int price = isFirstBuy ? shopCfg.oncePrice : shopCfg.price;
             int price = isFirstBuy ? shopCfg.oncePrice : shopCfg.price;
             _ui.m_btnBuy.m_txtPrice.text = price.ToString();
             _ui.m_btnBuy.m_txtPrice.text = price.ToString();
-            _ui.m_btnBuy.target.data = "";
+            _ui.m_btnBuy.target.data = monthCfg.shopId;
             _ui.m_txtTips.SetVar("value", (price * 10).ToString()).FlushVars();
             _ui.m_txtTips.SetVar("value", (price * 10).ToString()).FlushVars();
             _ui.m_txtTips.SetVar("day", monthCfg.limitDays.ToString()).FlushVars();
             _ui.m_txtTips.SetVar("day", monthCfg.limitDays.ToString()).FlushVars();