修复播放下载列表无法切换歌曲的问题
parent
05d2ffe8fa
commit
d8a3466914
|
@ -363,7 +363,8 @@ export default {
|
||||||
list = []
|
list = []
|
||||||
for (const item of this.list) {
|
for (const item of this.list) {
|
||||||
const filePath = path.join(this.setting.download.savePath, item.fileName)
|
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 {
|
} else {
|
||||||
list = this.list.filter(s => this.assertApiSupport(s.source))
|
list = this.list.filter(s => this.assertApiSupport(s.source))
|
||||||
|
|
Loading…
Reference in New Issue