【英雄突破】白骨精升级到100级点击突破按钮,弹出跳转提示,点击前往进阶界面报错

dev_chengFeng
gaoxin 2021-11-08 14:10:26 +08:00
parent e99f8c285f
commit bbb89af48e
1 changed files with 5 additions and 5 deletions

View File

@ -470,14 +470,14 @@ function RoleInfoLayout:LvUpClick(isSingleLvUp)
_isClicked = false _isClicked = false
_isReqLvUp = false _isReqLvUp = false
local showTipStr = Language[11808] local showTipStr = Language[11808]
local showIndex = 2 local showIndex = RoleInfoPanelIndex.jinjie
local showBtnTipStr = Language[11809] local showBtnTipStr = Language[11809]
if curHeroData.star == HeroManager.awakeStarIndex then if curHeroData.star == HeroManager.awakeStarIndex then
showTipStr = Language[11810] showTipStr = Language[11810]
showBtnTipStr = Language[11811] showBtnTipStr = Language[11811]
showIndex = 3 showIndex = RoleInfoPanelIndex.juexing
end end
if showIndex == 3 then if showIndex == RoleInfoPanelIndex.juexing then
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.RoleAwake) then if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.RoleAwake) then
MsgPanel.ShowTwo(showTipStr, nil, function() MsgPanel.ShowTwo(showTipStr, nil, function()
parent:SetSelectBtn(showIndex) parent:SetSelectBtn(showIndex)
@ -516,8 +516,8 @@ function RoleInfoLayout:LvUpClick(isSingleLvUp)
_isClicked = false _isClicked = false
_isReqLvUp = false _isReqLvUp = false
MsgPanel.ShowTwo(Language[11808], nil, function() MsgPanel.ShowTwo(Language[11808], nil, function()
parent:SetSelectBtn(2) parent:SetSelectBtn(RoleInfoPanelIndex.jinjie)
parent:OnPageTabChange(2) parent:OnPageTabChange(RoleInfoPanelIndex.jinjie)
end,Language[10731],Language[11809]) end,Language[10731],Language[11809])
end end
else else