修复无法打开官方歌单的问题
This commit is contained in:
parent
23c057ac08
commit
a6b8881e30
@ -286,6 +286,7 @@ export default {
|
|||||||
if (this._requestObj_listDetail) this._requestObj_listDetail.cancelHttp()
|
if (this._requestObj_listDetail) this._requestObj_listDetail.cancelHttp()
|
||||||
if (tryNum > 2) return Promise.reject(new Error('try max num'))
|
if (tryNum > 2) return Promise.reject(new Error('try max num'))
|
||||||
|
|
||||||
|
id = id.toString()
|
||||||
if (id.includes('special/single/')) {
|
if (id.includes('special/single/')) {
|
||||||
id = id.replace(this.regExps.listDetailLink, '$1')
|
id = id.replace(this.regExps.listDetailLink, '$1')
|
||||||
} else if (/http(?:s):/.test(id)) {
|
} else if (/http(?:s):/.test(id)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user