修复播放下载列表无法切换歌曲的问题

pull/225/head
lyswhut 2020-04-29 16:09:44 +08:00
parent 05d2ffe8fa
commit d8a3466914
1 changed files with 2 additions and 1 deletions

View File

@ -363,7 +363,8 @@ export default {
list = []
for (const item of this.list) {
const filePath = path.join(this.setting.download.savePath, item.fileName)
if ((!await checkPath(filePath) || !item.isComplate || /\.ape$/.test(filePath))) list.push(item)
if (!await checkPath(filePath) || !item.isComplate || /\.ape$/.test(filePath)) continue
list.push(item)
}
} else {
list = this.list.filter(s => this.assertApiSupport(s.source))