mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🪛 chore: 移除不必要的 await
This commit is contained in:
parent
cacd10e32b
commit
1123e089b2
@ -108,7 +108,7 @@ export class songRequest extends plugin {
|
|||||||
// 获取云盘歌单列表
|
// 获取云盘歌单列表
|
||||||
const cloudSongList = await this.getCloudSong()
|
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
|
songName.includes(songKeyWord) || singerName.includes(songKeyWord) || songName == songKeyWord || singerName == songKeyWord
|
||||||
);
|
);
|
||||||
// 计算列表数
|
// 计算列表数
|
||||||
|
Loading…
x
Reference in New Issue
Block a user