From e3f146dabf3fd735fca76e77bde17a5115643c26 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 30 Jun 2021 11:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4wy=E6=BA=90=E6=AD=8C=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8C=89=E2=80=9C=E6=9C=80=E6=96=B0=E2=80=9D?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E7=9A=84=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 4 ++++ src/renderer/utils/music/wy/songList.js | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index c3f3f89b..9061c640 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -11,6 +11,10 @@ - 修复mg源搜索失效的问题 +### 移除 + +- 因wy源的歌单列表已没有“最新”排序的选项,所以现跟随移除wy源歌单列表按“最新”排序的按钮 + ### 变更 - 添加歌曲到列表时从原来的底部改为顶部,若想要恢复原来的行为则可以去更改“添加歌曲到列表时的位置”设置项 diff --git a/src/renderer/utils/music/wy/songList.js b/src/renderer/utils/music/wy/songList.js index a0fe5ba0..f90e5b42 100644 --- a/src/renderer/utils/music/wy/songList.js +++ b/src/renderer/utils/music/wy/songList.js @@ -22,10 +22,10 @@ export default { name: '最热', id: 'hot', }, - { - name: '最新', - id: 'new', - }, + // { + // name: '最新', + // id: 'new', + // }, ], regExps: { listDetailLink: /^.+(?:\?|&)id=(\d+)(?:&.*$|#.*$|$)/, @@ -192,7 +192,7 @@ export default { }), }) return this._requestObj_list.promise.then(({ body }) => { - // console.log(JSON.stringify(body)) + // console.log(body) if (body.code !== this.successCode) return this.getList(sortId, tagId, page, ++tryNum) return { list: this.filterList(body.playlists),