新增各大平台歌单热门标签显示

This commit is contained in:
lyswhut
2019-12-31 16:12:46 +08:00
parent 529078dc67
commit 0228850d6d
4 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ export default {
return this.setting.apiSource == 'temp'
},
tagList() {
return this.tags[this.source] ? this.tags[this.source].tags : []
let tagInfo = this.tags[this.source]
return tagInfo ? [{ name: '热门标签', list: [...tagInfo.hotTag] }, ...tagInfo.tags] : []
},
},
watch: {