避免列表还未生成
This commit is contained in:
		@@ -142,8 +142,9 @@ const musicList = new MusicList({
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
      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) return console.error('未找到拥有此音乐的用户')
 | 
			
		||||
      console.info('向', client.name, '请求音乐数据')
 | 
			
		||||
 | 
			
		||||
      const c = Math.ceil(item.size / CHUNK_SIZE)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user