放置离开时产生报错
This commit is contained in:
parent
d668b7236d
commit
b81cedc023
@ -43,7 +43,7 @@ const clientList = new ClientList({
|
||||
return 此用户音乐.includes(item.id)
|
||||
}).forEach(item => {
|
||||
const client = clientList.clientlist.find(client => {
|
||||
return client.musicList.find(x => x.id === item.id)
|
||||
return client?.musicList?.find(x => x.id === item.id)
|
||||
})
|
||||
if (!client) musicList.remove(item)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user