fix:
修复排名数据问题
This commit is contained in:
parent
18b380f620
commit
a177c18efe
@ -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 []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user