fix
This commit is contained in:
parent
ab7882bc5f
commit
738cafdd54
@ -241,7 +241,7 @@ export default {
|
|||||||
text: item.Content ? this.replaceEmoji(item.Content).replace(/\\n/g, '\n') : '',
|
text: item.Content ? this.replaceEmoji(item.Content).replace(/\\n/g, '\n') : '',
|
||||||
time: item.PubTime ? this.formatTime(item.PubTime) : null,
|
time: item.PubTime ? this.formatTime(item.PubTime) : null,
|
||||||
timeStr: item.PubTime ? dateFormat2(this.formatTime(item.PubTime)) : null,
|
timeStr: item.PubTime ? dateFormat2(this.formatTime(item.PubTime)) : null,
|
||||||
userName: item.Nick ? item.Nick : '',
|
userName: item.Nick ?? '',
|
||||||
images: item.Pic ? [item.Pic] : [],
|
images: item.Pic ? [item.Pic] : [],
|
||||||
avatar: item.Avatar,
|
avatar: item.Avatar,
|
||||||
location: item.Location ? item.Location : '',
|
location: item.Location ? item.Location : '',
|
||||||
@ -254,7 +254,7 @@ export default {
|
|||||||
text: this.replaceEmoji(c.Content).replace(/\\n/g, '\n'),
|
text: this.replaceEmoji(c.Content).replace(/\\n/g, '\n'),
|
||||||
time: c.PubTime ? this.formatTime(c.PubTime) : null,
|
time: c.PubTime ? this.formatTime(c.PubTime) : null,
|
||||||
timeStr: c.PubTime ? dateFormat2(this.formatTime(c.PubTime)) : null,
|
timeStr: c.PubTime ? dateFormat2(this.formatTime(c.PubTime)) : null,
|
||||||
userName: c.Nick ? c.Nick : '',
|
userName: c.Nick ?? '',
|
||||||
avatar: c.Avatar,
|
avatar: c.Avatar,
|
||||||
images: c.Pic ? [c.Pic] : [],
|
images: c.Pic ? [c.Pic] : [],
|
||||||
userId: c.EncryptUin,
|
userId: c.EncryptUin,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user