fix: 星铁更新面板

This commit is contained in:
dujiu 2023-12-04 20:11:18 +08:00
parent 1fb0df873c
commit 0db4ce1f91

View File

@ -57,8 +57,8 @@ const ProfileList = {
let isSelfUid = false let isSelfUid = false
if (e.runtime) { if (e.runtime) {
let uids = e.runtime?.user?.ckUids || [] let uids = e.runtime?.user?.getCkUidList(e.game) || []
isSelfUid = uids.join(',').split(',').includes(uid + '') isSelfUid = uids.some(ds => ds.uid === uid + '')
} }
let rank = false let rank = false