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

pull/1417/head
lyswhut 2023-06-17 20:05:03 +08:00
parent ef411ddb47
commit c6fb2232d0
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@
- 修复wy源热搜词失效的问题#1401, @Folltoshe
- 修复Deepin 20下启用桌面歌词时可能会导致桌面卡死的问题#1288
- 修复添加单首歌曲弹窗列表创建按钮无法取消的问题
- 修复mg歌单搜索歌单播放数量显示问题
### 其他

View File

@ -299,8 +299,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,