修复无法从歌单界面打开网易歌单详情的问题
parent
0c76612a4c
commit
bc7b35f816
|
@ -64,7 +64,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'))
|
||||||
|
|
||||||
if (id.includes('###')) {
|
if (/###/.test(id)) {
|
||||||
const [url, token] = id.split('###')
|
const [url, token] = id.split('###')
|
||||||
id = url
|
id = url
|
||||||
this.cookie = `MUSIC_U=${token}`
|
this.cookie = `MUSIC_U=${token}`
|
||||||
|
|
Loading…
Reference in New Issue