diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua index 47b5711a0c..e475a8ad4b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua @@ -249,7 +249,6 @@ function EndLessMapView:BindEvent() end) end,1) end) - BindRedPointObject(RedPointType.wujinMission,this.btnNoteRed) Util.AddClick(this.btnNote, function () if this.curMission.state == 1 then NetManager.TakeMissionRewardRequest(TaskTypeDef.wujinfuben,this.curMission.Id,function(msg) @@ -426,6 +425,7 @@ function EndLessMapView:RefreshTargetRoote() -- 0 "已领取" -- 1 "领取" -- 2 "前往" + this.btnNoteRed.gameObject:SetActive(false) this.curMission = EndLessMapManager.GetRewardData() if this.curMission.state == 2 then this.TargetBtn1.gameObject:SetActive(true) --未完成 @@ -437,6 +437,7 @@ function EndLessMapView:RefreshTargetRoote() if this.curMission.index == #EndLessMapManager.mission and this.curMission.state == 0 then this.TargetRootText.text = "已完成全部任务" else + this.btnNoteRed.gameObject:SetActive(true) this.TargetRootText.text = string.format("%s(%s/%s)",this.curMission.Desc,this.curMission.value,this.curMission.value) end end @@ -749,7 +750,6 @@ function EndLessMapView:OnClose() Util.ClearChild(this.selectHeroGrid.transform) ClearRedPointObject(RedPointType.wujinBianDui,this.btnFormatRed) ClearRedPointObject(RedPointType.wujinTreasure,this.endLessTreasureRed) - ClearRedPointObject(RedPointType.wujinMission,this.btnNoteRed) this.heroList = {} this.isPanelClose = true EndLessMapManager.isUpdateOnClose = false