修复获取下载链接时的bug

This commit is contained in:
buvta
2020-12-31 22:32:59 +08:00
parent a2de1984e3
commit b5274c79b0

View File

@@ -325,7 +325,7 @@ const zy = {
})
} else {
zy.detail(key, id).then(res => {
const dl = res.fullList.find(e => e.flag === videoFlag) || res[0]
const dl = res.fullList.find(e => e.flag === videoFlag) || res.fullList[0]
for (const i of dl.list) {
const url = encodeURI(i.split('$')[1])
downloadUrls += (url + '\n')