修复列表多选音源限制Bug

This commit is contained in:
lyswhut
2019-08-19 19:08:19 +08:00
parent 90288da36d
commit d4c88edb8b
3 changed files with 5 additions and 11 deletions
+2 -1
View File
@@ -173,7 +173,8 @@ export default {
this.selectdData = []
},
handleAddDownloadMultiple(type) {
this.createDownloadMultiple({ list: [...this.selectdData], type })
const list = this.setting.apiSource == 'temp' ? this.selectdData.filter(s => s.source == 'kw') : [...this.selectdData]
this.createDownloadMultiple({ list, type })
this.resetSelect()
this.isShowDownloadMultiple = false
},