修复下载列表标签切换及全选bug
parent
bb5fd44750
commit
9ca0ec82a8
|
@ -20,6 +20,7 @@
|
||||||
- 修复歌单详情处于加载状态时无法返回的问题
|
- 修复歌单详情处于加载状态时无法返回的问题
|
||||||
- 修复鼠标右击复制列表内容时会复制音质标签的问题
|
- 修复鼠标右击复制列表内容时会复制音质标签的问题
|
||||||
- 修复`0.6.2`及以前的版本导出的“所有数据”内的歌曲列表无法导入的问题
|
- 修复`0.6.2`及以前的版本导出的“所有数据”内的歌曲列表无法导入的问题
|
||||||
|
- 修复下载列表在某些情况下无法取消全选的问题
|
||||||
|
|
||||||
### 其他
|
### 其他
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
div(:class="$style.download")
|
div(:class="$style.download")
|
||||||
//- transition
|
//- transition
|
||||||
div(:class="$style.header")
|
div(:class="$style.header")
|
||||||
material-tab(:class="$style.tab" :list="tabs" align="left" item-key="id" item-name="name" v-model="tabId")
|
material-tab(:class="$style.tab" :list="tabs" align="left" item-key="id" item-name="name" @change="handleTabChange" v-model="tabId")
|
||||||
div(:class="$style.content" v-if="list.length")
|
div(:class="$style.content" v-if="list.length")
|
||||||
div(:class="$style.thead")
|
div(:class="$style.thead")
|
||||||
table
|
table
|
||||||
|
@ -108,7 +108,7 @@ export default {
|
||||||
const len = n.length
|
const len = n.length
|
||||||
if (len) {
|
if (len) {
|
||||||
this.isSelectAll = true
|
this.isSelectAll = true
|
||||||
this.isIndeterminate = len !== this.list.length
|
this.isIndeterminate = len !== this.showList.length
|
||||||
this.isShowEditBtn = true
|
this.isShowEditBtn = true
|
||||||
} else {
|
} else {
|
||||||
this.isSelectAll = false
|
this.isSelectAll = false
|
||||||
|
@ -245,6 +245,9 @@ export default {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handleTabChange() {
|
||||||
|
this.selectdData = []
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue