diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/View/ArenaDefendFormation.lua b/Assets/ManagedResources/~Lua/Modules/Formation/View/ArenaDefendFormation.lua index a2dfb7152c..7779966309 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/View/ArenaDefendFormation.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/View/ArenaDefendFormation.lua @@ -15,7 +15,12 @@ function this.GetFormationIndex() return FormationTypeDef.FORMATION_ARENA_DEFEND end --- 提交按钮点击事件 + function this.On_Btn1_Click() + this.root.SetOneKeyGo() +end + +function this.On_Btn2_Click() local formation = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_ARENA_DEFEND) if #formation.teamHeroInfos == 0 then PopupTipPanel.ShowTip(Language[10711]) @@ -39,7 +44,9 @@ end function this.InitView() this.root.bg:SetActive(true) this.root.btn_1:SetActive(true) - this.root.btn_1_lab.text = Language[10712] + this.root.btn_1_lab.text = Language[10743] + this.root.btn_2:SetActive(true) + this.root.btn_2_lab.text = Language[10712] this.root.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Arena })