fix. 修复uid与qq号对应关系不刷新的问题

This commit is contained in:
lhhxxxxx 2024-07-06 01:18:15 +08:00 committed by GitHub
parent c35dafbe79
commit ed77db3f3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,8 +59,8 @@ const ProfileList = {
if (e.runtime && e.runtime?.user) {
let uids = []
let user = e.runtime.user
if (typeof user.getCkUidList === 'function') {
uids = user.getCkUidList(e.game).map(i => i.uid) || []
if (typeof user.getUidList === 'function') {
uids = user.getUidList(e.game).map(i => i.uid) || []
} else {
uids = user.ckUids || []
}