local UIHeroMatch1v1Store = require("View/HeroMatch1v1/UIHeroMatch1v1Store") local UISyncFourCountryWarStore = UIViewClass(UIHeroMatch1v1Store) function UISyncFourCountryWarStore:RefreshPanel() if self.loop_Goods.Count > 0 then self.loop_Goods:ClearCells() end local list = {} for _, v in MDL.OperationActivity.StoreGoodsData:GetEnumerator() do --四国乱斗商店id if v.TabID == 29940 then table.insert(list, v) end end for i, v in ipairs(list) do self.loop_Goods:AddData(v, 0) end end return UISyncFourCountryWarStore