fix:收藏批量删除

This commit is contained in:
buvta
2020-12-15 16:24:12 +08:00
parent d0f6282b81
commit dfcd786f53

View File

@@ -257,7 +257,7 @@ export default {
this.multipleSelection = rows
},
removeSelectedItems () {
if (!this.multipleSelection.length) this.multipleSelection = this.history
if (!this.multipleSelection.length) this.multipleSelection = this.list
this.multipleSelection.forEach(e => star.remove(e.id))
this.getFavorites()
this.updateDatabase()