🪛 chore: 移除不必要的 await

This commit is contained in:
zhiyu1998 2024-11-13 22:29:46 +08:00
parent cacd10e32b
commit 1123e089b2

View File

@ -108,7 +108,7 @@ export class songRequest extends plugin {
// 获取云盘歌单列表
const cloudSongList = await this.getCloudSong()
// 搜索云盘歌单并进行搜索
const matchedSongs = await cloudSongList.filter(({ songName, singerName }) =>
const matchedSongs = cloudSongList.filter(({ songName, singerName }) =>
songName.includes(songKeyWord) || singerName.includes(songKeyWord) || songName == songKeyWord || singerName == songKeyWord
);
// 计算列表数