修复无法打开官方歌单的问题

pull/225/head
lyswhut 2020-04-08 11:22:35 +08:00
parent 23c057ac08
commit a6b8881e30
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ export default {
if (this._requestObj_listDetail) this._requestObj_listDetail.cancelHttp()
if (tryNum > 2) return Promise.reject(new Error('try max num'))
id = id.toString()
if (id.includes('special/single/')) {
id = id.replace(this.regExps.listDetailLink, '$1')
} else if (/http(?:s):/.test(id)) {