From a80d16fbda53b72ba8f5487391e75e816f3d2008 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sat, 18 Sep 2021 14:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=98=93=E7=BB=8F=E5=AE=9D=E5=BA=93?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E6=94=B9=E9=80=89=E6=8B=A9=E5=A5=96=E5=8A=B1?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=9A=84=E6=8E=92=E5=BA=8F=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GeneralPanel/View/GeneralBigPopup_YiJingBaoKu.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_YiJingBaoKu.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_YiJingBaoKu.lua index 4b6d8ba18c..68bf003680 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_YiJingBaoKu.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_YiJingBaoKu.lua @@ -63,6 +63,12 @@ function this:OnShow(_parent,...) this.titleText.text = Language[10760] curId = ActData.selectId or nil local RewardConfig = ConfigManager.GetAllConfigsDataByKey(ConfigName.BlessingRewardPoolNew,"PoolId",ActData.curFinalPool) + table.sort(RewardConfig, function(a, b) + if a.FloorLimit == b.FloorLimit then + return a.Id < b.Id + end + return a.FloorLimit < b.FloorLimit + end) this.ScrollView:SetData(RewardConfig, function(index, go) this:SetSingleData(index,go, RewardConfig[index]) end)