bug修复

This commit is contained in:
xiekaidong 2023-04-21 11:00:11 +08:00
parent 01e691fceb
commit 8683156a3c

View File

@ -111,6 +111,8 @@ function MainCityUI:_bind()
self:bind(DataManager.HeroData, "isDirty", function(binder, value)
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.HERO then
self.subComps[self.selectedIndex]:refresh()
elseif self.selectedIndex == GConst.MainCityConst.MAIN then
self.subComps[self.selectedIndex]:refreshStageFormaion()
end
end)