修复mg歌单搜索歌单播放数量显示问题

This commit is contained in:
lyswhut 2023-06-17 20:05:14 +08:00
parent c5527a52fc
commit 7f21d74ba4
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@
- 修复在线列表、我的列表内的歌曲批量操作后,没有自动取消选择的问题
- 修复tx热门评论昵称被错误切割的问题 (By: @helloplhm-qwq, @Folltoshe)
- 修复wy源热搜词失效的问题@Folltoshe
- 修复mg歌单搜索歌单播放数量显示问题
### 其他

View File

@ -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,