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

This commit is contained in:
lyswhut
2020-12-06 21:33:39 +08:00
parent a98c0516a3
commit c29bf61e59
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ export default {
id = id.toString()
if (id.includes('special/single/')) {
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)
} else if (/^\d+$/.test(id)) {
return this.getUserListDetailByCode(id)