From 0db4ce1f914dff59e08d668819e7a9e3c460970a Mon Sep 17 00:00:00 2001 From: dujiu <632558678@qq.com> Date: Mon, 4 Dec 2023 20:11:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=9F=E9=93=81=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/profile/ProfileList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/profile/ProfileList.js b/apps/profile/ProfileList.js index 3aaeffe4..48146061 100644 --- a/apps/profile/ProfileList.js +++ b/apps/profile/ProfileList.js @@ -57,8 +57,8 @@ const ProfileList = { let isSelfUid = false if (e.runtime) { - let uids = e.runtime?.user?.ckUids || [] - isSelfUid = uids.join(',').split(',').includes(uid + '') + let uids = e.runtime?.user?.getCkUidList(e.game) || [] + isSelfUid = uids.some(ds => ds.uid === uid + '') } let rank = false