reply-to work
This commit is contained in:
parent
1301aff930
commit
acdf081bb1
8 changed files with 255 additions and 130 deletions
|
|
@ -14,6 +14,8 @@ const ChatMessageList = {
|
|||
default: [],
|
||||
},
|
||||
headerDate: Boolean,
|
||||
focusedId: String,
|
||||
repliedId: String,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
:chat-item="chatItem"
|
||||
:previous-item="getPreviousItem(index)"
|
||||
:hovered-message-chain="chatItem.messageChainId === hoveredMessageChainId"
|
||||
:focused="chatItem.id === focusedId"
|
||||
:repliedTo="chatItem.id === repliedId"
|
||||
@hover="onMessageHover"
|
||||
@delete="onMessageDelete"
|
||||
@reply-requested="onReplyRequested"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue