mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
fix. 修复uid与qq号对应关系不刷新的问题
This commit is contained in:
parent
c35dafbe79
commit
ed77db3f3e
@ -59,8 +59,8 @@ const ProfileList = {
|
|||||||
if (e.runtime && e.runtime?.user) {
|
if (e.runtime && e.runtime?.user) {
|
||||||
let uids = []
|
let uids = []
|
||||||
let user = e.runtime.user
|
let user = e.runtime.user
|
||||||
if (typeof user.getCkUidList === 'function') {
|
if (typeof user.getUidList === 'function') {
|
||||||
uids = user.getCkUidList(e.game).map(i => i.uid) || []
|
uids = user.getUidList(e.game).map(i => i.uid) || []
|
||||||
} else {
|
} else {
|
||||||
uids = user.ckUids || []
|
uids = user.ckUids || []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user