英雄图鉴红点fix

This commit is contained in:
Fang 2023-07-27 10:32:48 +08:00
parent 2f98218e7d
commit 7ffd2ee992

View File

@ -216,6 +216,10 @@ function MainCityUI:_bind()
self:refreshBottomRp()
end)
self:bind(DataManager.CollectionData, "dirtyHero", function()
self:refreshBottomRp()
end)
self:bind(DataManager.BagData.ItemData, "dirty", function(binder, value)
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN and self.subComps[self.selectedIndex] then
if self.subComps[self.selectedIndex] then