修复排名数据问题
This commit is contained in:
xcy 2023-12-30 18:04:01 +08:00
parent 18b380f620
commit a177c18efe

View File

@ -306,7 +306,8 @@ export abstract class Rank {
}) })
} }
return res.map(ele => ele.data).sort(this.compareSort) as any; // 按照redis uids 排序顺序排序
return res.sort((a,b)=>uids.indexOf(a.idKey)-uids.indexOf(b.idKey)).map(ele => ele.data);
} }
return [] return []
} }