mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 15:12:10 +08:00
修复mg歌单搜索歌单播放数量显示问题
This commit is contained in:
parent
c5527a52fc
commit
7f21d74ba4
@ -10,6 +10,7 @@
|
||||
- 修复在线列表、我的列表内的歌曲批量操作后,没有自动取消选择的问题
|
||||
- 修复tx热门评论昵称被错误切割的问题 (By: @helloplhm-qwq, @Folltoshe)
|
||||
- 修复wy源热搜词失效的问题(@Folltoshe)
|
||||
- 修复mg歌单搜索歌单播放数量显示问题
|
||||
|
||||
### 其他
|
||||
|
||||
|
@ -301,8 +301,10 @@ export default {
|
||||
if (body.code != this.successCode) throw new Error('failed')
|
||||
return {
|
||||
list: body.songListResultData.result.map(item => {
|
||||
let num = parseInt(item.playNum)
|
||||
if (isNaN(num)) num = 0
|
||||
return {
|
||||
play_count: formatPlayCount(item.playcount),
|
||||
play_count: formatPlayCount(num),
|
||||
id: item.id,
|
||||
// author: item.createName,
|
||||
name: item.name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user