From 1123e089b21ba72a6d06fb071c171483e98c0fb5 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Wed, 13 Nov 2024 22:29:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9B=20chore:=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=20await?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/songRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/songRequest.js b/apps/songRequest.js index 9603296..6d330fb 100644 --- a/apps/songRequest.js +++ b/apps/songRequest.js @@ -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 ); // 计算列表数