diff --git a/src/pages/home/components/ChatMainList/index.vue b/src/pages/home/components/ChatMainList/index.vue index b1dcd37..dfb61bd 100644 --- a/src/pages/home/components/ChatMainList/index.vue +++ b/src/pages/home/components/ChatMainList/index.vue @@ -447,12 +447,12 @@ const addNoticeListener = () => { // }, 200); // }); - // emitter.on(SEND_MESSAGE_CONTENT_TEXT, (value) => { - // console.log("SEND_MESSAGE_CONTENT_TEXT:", value); - // if (value && value.length > 0) { - // handleReplyText(value); - // } - // }); + emitter.on(SEND_MESSAGE_CONTENT_TEXT, (value) => { + console.log("SEND_MESSAGE_CONTENT_TEXT:", value); + if (value && value.length) { + handleReplyText(value); + } + }); emitter.on(SEND_MESSAGE_COMMAND_TYPE, (item) => { console.log("SEND_MESSAGE_COMMAND_TYPE:", item); diff --git a/src/pages/home/components/LongTextGuideCardPreview/index.vue b/src/pages/home/components/LongTextGuideCardPreview/index.vue index 82d79d1..4cfda63 100644 --- a/src/pages/home/components/LongTextGuideCardPreview/index.vue +++ b/src/pages/home/components/LongTextGuideCardPreview/index.vue @@ -1,9 +1,9 @@