File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ### 修复
2+
3+ - 使用临时接口时,试听列表中的下载按钮仍然能点击的Bug
4+
15### 移除
26
37- 移除列表栏设置的隐藏专辑栏选项(感觉这个设置并没有什么luan用,并且还会打破布局)
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ export default {
137137 this .clickIndex = - 1
138138 },
139139 testPlay (index ) {
140- if (this .isAPITemp && this .list [index].source != ' kw' ) return
141140 this .setList ({ list: this .list , listId: ' test' , index })
142141 },
143142 handleRemove (index ) {
@@ -146,16 +145,17 @@ export default {
146145 handleListBtnClick (info ) {
147146 switch (info .action ) {
148147 case ' download' :
149- this .musicInfo = this .list [info .index ]
148+ const minfo = this .list [info .index ]
149+ if (this .isAPITemp && minfo .source != ' kw' ) return
150+ this .musicInfo = minfo
150151 this .$nextTick (() => {
151152 this .isShowDownload = true
152153 })
153154 break
154155 case ' play' :
156+ if (this .isAPITemp && this .list [info .index ].source != ' kw' ) return
155157 this .testPlay (info .index )
156158 break
157- case ' add' :
158- break
159159 case ' remove' :
160160 this .handleRemove (info .index )
161161 break
You can’t perform that action at this time.
0 commit comments