From bc7b35f8165e901bd1e7be4fd3094c6ec7509fdf Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 23 Aug 2021 11:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E4=BB=8E?= =?UTF-8?q?=E6=AD=8C=E5=8D=95=E7=95=8C=E9=9D=A2=E6=89=93=E5=BC=80=E7=BD=91?= =?UTF-8?q?=E6=98=93=E6=AD=8C=E5=8D=95=E8=AF=A6=E6=83=85=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/music/wy/songList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/utils/music/wy/songList.js b/src/renderer/utils/music/wy/songList.js index 168d36dd..857039ef 100644 --- a/src/renderer/utils/music/wy/songList.js +++ b/src/renderer/utils/music/wy/songList.js @@ -64,7 +64,7 @@ export default { if (this._requestObj_listDetail) this._requestObj_listDetail.cancelHttp() if (tryNum > 2) return Promise.reject(new Error('try max num')) - if (id.includes('###')) { + if (/###/.test(id)) { const [url, token] = id.split('###') id = url this.cookie = `MUSIC_U=${token}`