diff --git a/im-uniapp/pages/chat/chat-box.vue b/im-uniapp/pages/chat/chat-box.vue index 12b8807..54de557 100644 --- a/im-uniapp/pages/chat/chat-box.vue +++ b/im-uniapp/pages/chat/chat-box.vue @@ -586,6 +586,7 @@ export default { this.chatStore.updateMessage(tmpMessage, chat); }) }, + onDeleteMessage(msgInfo) { uni.showModal({ title: '删除消息', diff --git a/im-uniapp/store/chatStore.js b/im-uniapp/store/chatStore.js index 408213a..1e636e7 100644 --- a/im-uniapp/store/chatStore.js +++ b/im-uniapp/store/chatStore.js @@ -434,4 +434,4 @@ export default defineStore('chatStore', { return null; } } -}); \ No newline at end of file +});