修复因插入数字类型的ID导致其意外在末尾追加 .0 导致列表数据异常的问题

This commit is contained in:
lyswhut
2023-05-18 15:22:45 +08:00
parent 0454d300ec
commit 8018d9b418
8 changed files with 31 additions and 9 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ export default {
list: body.abslist.map(item => {
return {
play_count: this.formatPlayCount(item.playcnt),
id: item.playlistid,
id: String(item.playlistid),
author: decodeName(item.nickname),
name: decodeName(item.name),
total: item.songnum,