修复某些酷狗源歌单链接无法打开的问题

pull/392/head
lyswhut 2020-12-06 21:33:39 +08:00
parent a98c0516a3
commit c29bf61e59
2 changed files with 2 additions and 1 deletions

View File

@ -4,3 +4,4 @@
- 修复MAC平台上下载歌曲封面嵌入无法显示的问题 - 修复MAC平台上下载歌曲封面嵌入无法显示的问题
- 修复MAC平台首次运行软件最小化、关闭控制按钮默认在右边的问题 - 修复MAC平台首次运行软件最小化、关闭控制按钮默认在右边的问题
- 修复酷狗源的某些歌曲没有专辑字段导致的列表加载失败问题 - 修复酷狗源的某些歌曲没有专辑字段导致的列表加载失败问题
- 修复某些酷狗源歌单链接无法打开的问题

View File

@ -378,7 +378,7 @@ export default {
id = id.toString() 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 (/https?:/.test(id)) {
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)