修复官方歌单的打开
parent
0c4f943d72
commit
1832ec753c
|
@ -135,7 +135,7 @@ export default {
|
||||||
filterList(rawData) {
|
filterList(rawData) {
|
||||||
return rawData.map(item => ({
|
return rawData.map(item => ({
|
||||||
play_count: item.total_play_count || this.formatPlayCount(item.play_count),
|
play_count: item.total_play_count || this.formatPlayCount(item.play_count),
|
||||||
id: item.specialid,
|
id: 'id_' + item.specialid,
|
||||||
author: item.nickname,
|
author: item.nickname,
|
||||||
name: item.specialname,
|
name: item.specialname,
|
||||||
time: item.publish_time || item.publishtime,
|
time: item.publish_time || item.publishtime,
|
||||||
|
@ -382,6 +382,8 @@ export default {
|
||||||
return this.getUserListDetail(id.replace(/^.*http/, 'http'), page)
|
return this.getUserListDetail(id.replace(/^.*http/, 'http'), page)
|
||||||
} else if (/^\d+$/.test(id)) {
|
} else if (/^\d+$/.test(id)) {
|
||||||
return this.getUserListDetailByCode(id)
|
return this.getUserListDetailByCode(id)
|
||||||
|
} else if (id.startsWith('id_')) {
|
||||||
|
id = id.replace('id_', '')
|
||||||
}
|
}
|
||||||
|
|
||||||
// if ((/[?&:/]/.test(id))) id = id.replace(this.regExps.listDetailLink, '$1')
|
// if ((/[?&:/]/.test(id))) id = id.replace(this.regExps.listDetailLink, '$1')
|
||||||
|
|
Loading…
Reference in New Issue