修复自动换源遇到不支持的源时报错的问题

pull/453/head
lyswhut 2021-01-29 10:18:48 +08:00
parent 006da66028
commit 2cc8af71d0
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ export default {
console.log('find otherSource', otherSource)
if (otherSource.length) {
for (const item of otherSource) {
if (retryedSource.includes(item.source)) continue
if (retryedSource.includes(item.source) || !this.assertApiSupport(item.source)) continue
console.log('try toggle to: ', item.source, item.name, item.singer, item.interval)
return this.setUrl(item, isRefresh, false, retryedSource, originMusic)
}