修复百度源歌单全部分类无法加载的问题

This commit is contained in:
lyswhut
2019-09-05 13:34:41 +08:00
parent 0b953a1517
commit 9ea9fefe1d
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ export default {
},
getListUrl(sortType, tagName, page) {
return this.createUrl({
channelname: tagName || '默认',
channelname: tagName || '全部',
from: 'qianqianmini',
offset: (page - 1) * this.limit_list,
order_type: sortType,
@@ -144,7 +144,7 @@ export default {
this.getListUrl(sortId, tagId, page)
)
return this._requestObj_list.promise.then(({ body }) => {
if (body.error_code !== this.successCode) return this.getList(sortId, tagId, page)
// if (body.error_code !== this.successCode) return this.getList(sortId, tagId, page)
return {
list: this.filterList(body.diyInfo),
total: body.nums,