From ab7882bc5f87d0b3d3c616f6267b171f857dd9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E7=8B=B8=E8=8A=B1=E5=96=B5?= Date: Sun, 4 Jun 2023 11:53:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtx=E7=83=AD=E9=97=A8=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E6=98=B5=E7=A7=B0=E8=A2=AB=E9=94=99=E8=AF=AF=E5=88=87?= =?UTF-8?q?=E5=89=B2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/musicSdk/tx/comment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/utils/musicSdk/tx/comment.js b/src/renderer/utils/musicSdk/tx/comment.js index 4ac21798..55441d24 100644 --- a/src/renderer/utils/musicSdk/tx/comment.js +++ b/src/renderer/utils/musicSdk/tx/comment.js @@ -241,7 +241,7 @@ export default { text: item.Content ? this.replaceEmoji(item.Content).replace(/\\n/g, '\n') : '', time: item.PubTime ? this.formatTime(item.PubTime) : null, timeStr: item.PubTime ? dateFormat2(this.formatTime(item.PubTime)) : null, - userName: item.Nick ? item.Nick.substring(1) : '', + userName: item.Nick ? item.Nick : '', images: item.Pic ? [item.Pic] : [], avatar: item.Avatar, location: item.Location ? item.Location : '', @@ -254,7 +254,7 @@ export default { text: this.replaceEmoji(c.Content).replace(/\\n/g, '\n'), time: c.PubTime ? this.formatTime(c.PubTime) : null, timeStr: c.PubTime ? dateFormat2(this.formatTime(c.PubTime)) : null, - userName: c.Nick ? c.Nick.substring(1) : '', + userName: c.Nick ? c.Nick : '', avatar: c.Avatar, images: c.Pic ? [c.Pic] : [], userId: c.EncryptUin,