|
@@ -280,6 +280,8 @@ function sendMessage() {
|
|
|
noticeType: noticeType.value,
|
|
|
object: {
|
|
|
id: getLocalId(),
|
|
|
+ headImageUrl :user.value?.headImageUrl,
|
|
|
+ showName :user.value?.showName
|
|
|
}
|
|
|
}
|
|
|
if (noticeType.value == 2) {
|
|
@@ -488,12 +490,14 @@ function selectImg(evt) {
|
|
|
noticeType: noticeType.value,
|
|
|
object: {
|
|
|
id: getLocalId(),
|
|
|
+ headImageUrl :user.value?.headImageUrl,
|
|
|
+ showName :user.value?.showName
|
|
|
}
|
|
|
}
|
|
|
- if (noticeType.value == 2) {
|
|
|
- msg.object.headImageUrl = user.value?.headImageUrl
|
|
|
- msg.object.showName = user.value?.showName
|
|
|
- }
|
|
|
+ // if (noticeType.value == 2) {
|
|
|
+ // msg.object.headImageUrl = user.value?.headImageUrl
|
|
|
+ // msg.object.showName = user.value?.showName
|
|
|
+ // }
|
|
|
receive.value.push(msg)
|
|
|
ws.value.send(JSON.stringify(msg))
|
|
|
}
|