根据messageKey查询message信息接口

This commit is contained in:
2023-12-04 23:29:37 +08:00
parent d2a3af7f1f
commit 48c4b58ed0
5 changed files with 62 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ const store = new Vuex.Store({
nickName: detail.nickName,
portrait: _userId == _obj.fromId ? _userInfo
.photo : detail.photo,
time: dayjs(_obj.createTime).format(
time: dayjs(_obj.time).format(
"YYYY/MM/DD HH:mm:ss"),
num: 0,
windowType: 'SINGLE',
@@ -320,6 +320,7 @@ const store = new Vuex.Store({
}
//判断头像是谁的
context.dispatch('updateChatListInfoById', {
userId: data.userId,
data: {
@@ -329,7 +330,7 @@ const store = new Vuex.Store({
nickName: detail.nickName,
portrait: _userId == _obj.fromId ? _userInfo
.photo : detail.photo,
time: dayjs(_obj.createTime).format(
time: dayjs(_obj.time).format(
"YYYY/MM/DD HH:mm:ss"),
num: 0,
windowType: 'SINGLE',