修复tx热门评论昵称被错误切割的问题 (#1397)
* 修复tx热门评论昵称被错误切割的问题 * fix --------- Co-authored-by: Folltoshe <folltoshe@foxmail.com>pull/1402/head
parent
025739e35c
commit
2a2fdc57bd
|
@ -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 ?? '',
|
||||
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 ?? '',
|
||||
avatar: c.Avatar,
|
||||
images: c.Pic ? [c.Pic] : [],
|
||||
userId: c.EncryptUin,
|
||||
|
|
Loading…
Reference in New Issue