From fcf92f06ef233a27dec10b78b184ef443cfee0f4 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sun, 1 Nov 2020 00:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtx=E6=BA=90=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E7=9A=84=E6=8D=A2=E8=A1=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/music/tx/comment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/utils/music/tx/comment.js b/src/renderer/utils/music/tx/comment.js index 23c3a4e7..1367df36 100644 --- a/src/renderer/utils/music/tx/comment.js +++ b/src/renderer/utils/music/tx/comment.js @@ -161,7 +161,7 @@ export default { return { id: item.subcommentid, rootId: item.rootcommentid, - text: item.rootcommentcontent ? this.replaceEmoji(item.rootcommentcontent).replace(/\\\n/g, '\n').split('\n') : [], + text: item.rootcommentcontent ? this.replaceEmoji(item.rootcommentcontent).replace(/\\n/g, '\n').split('\n') : [], time, timeStr: time ? dateFormat2(time) : null, userName: item.rootcommentnick ? item.rootcommentnick.substring(1) : '', @@ -172,7 +172,7 @@ export default { let index = c.subcommentid.lastIndexOf('_') return { id: c.subcommentid, - text: this.replaceEmoji(c.subcommentcontent).replace(/\\\n/g, '\n').split('\n'), + text: this.replaceEmoji(c.subcommentcontent).replace(/\\n/g, '\n').split('\n'), time: parseInt(c.subcommentid.substring(index + 1) + '000'), timeStr: dateFormat2(parseInt(c.subcommentid.substring(index + 1) + '000')), userName: c.replynick.substring(1),