移除wy源歌单列表按“最新”排序的按钮

pull/590/head
lyswhut 2021-06-30 11:55:32 +08:00
parent 2b2a6a7f10
commit e3f146dabf
2 changed files with 9 additions and 5 deletions

View File

@ -11,6 +11,10 @@
- 修复mg源搜索失效的问题 - 修复mg源搜索失效的问题
### 移除
- 因wy源的歌单列表已没有“最新”排序的选项所以现跟随移除wy源歌单列表按“最新”排序的按钮
### 变更 ### 变更
- 添加歌曲到列表时从原来的底部改为顶部,若想要恢复原来的行为则可以去更改“添加歌曲到列表时的位置”设置项 - 添加歌曲到列表时从原来的底部改为顶部,若想要恢复原来的行为则可以去更改“添加歌曲到列表时的位置”设置项

View File

@ -22,10 +22,10 @@ export default {
name: '最热', name: '最热',
id: 'hot', id: 'hot',
}, },
{ // {
name: '最新', // name: '最新',
id: 'new', // id: 'new',
}, // },
], ],
regExps: { regExps: {
listDetailLink: /^.+(?:\?|&)id=(\d+)(?:&.*$|#.*$|$)/, listDetailLink: /^.+(?:\?|&)id=(\d+)(?:&.*$|#.*$|$)/,
@ -192,7 +192,7 @@ export default {
}), }),
}) })
return this._requestObj_list.promise.then(({ body }) => { 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) if (body.code !== this.successCode) return this.getList(sortId, tagId, page, ++tryNum)
return { return {
list: this.filterList(body.playlists), list: this.filterList(body.playlists),