修复歌曲搜索多选不准确的问题

This commit is contained in:
lyswhut
2021-12-11 15:32:56 +08:00
parent 442e633800
commit b0e2f44f01
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ const actions = {
return
}
console.log(playInfo.playListId)
// console.log(playInfo.playListId)
const currentListId = playInfo.playListId
const currentList = getList(currentListId)
+1 -1
View File
@@ -315,7 +315,7 @@ export default {
}
this.selectedData = this.listInfo.list.slice(lastSelectIndex, clickIndex + 1)
if (isNeedReverse) this.selectedData.reverse()
let nodes = this.$refs.dom_tbody.childNodes
let nodes = Array.from(this.$refs.dom_tbody.childNodes).filter(n => n.nodeType === 1)
do {
const node = nodes[lastSelectIndex]
if (node.tagName == 'TR') {