Skip to content

Commit 9b1aadd

Browse files
Qiu-JunBobDu
andauthoredOct 25, 2024
fix: delete message problem (#575)
* fix: 修复删除消息倒是后面一条消息显示原文的问题 * Revert "fix: 修复删除消息倒是后面一条消息显示原文的问题" This reverts commit 5c38b3c. Signed-off-by: Bob Du <i@bobdu.cc> * fix: delete message problem Signed-off-by: Bob Du <i@bobdu.cc> --------- Signed-off-by: Bob Du <i@bobdu.cc> Co-authored-by: Bob Du <i@bobdu.cc>
1 parent 1379b15 commit 9b1aadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/views/chat/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ onUnmounted(() => {
681681
<div>
682682
<Message
683683
v-for="(item, index) of dataSources"
684-
:key="index"
684+
:key="String(item.uuid) + String(item.inversion)"
685685
:index="index"
686686
:current-nav-index="currentNavIndexRef"
687687
:date-time="item.dateTime"

0 commit comments

Comments
 (0)