From e917befe02b40f045f13b0888b1c7a3e2389ce2c Mon Sep 17 00:00:00 2001 From: zoujing Date: Wed, 4 Feb 2026 22:46:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E9=80=81=E7=9A=84=E8=AF=9D?= =?UTF-8?q?=E9=A2=98=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index/components/module/DiscoveryCradContentList/index.vue | 3 +-- src/pages/index/components/module/RecommendPostsList/index.vue | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/index/components/module/DiscoveryCradContentList/index.vue b/src/pages/index/components/module/DiscoveryCradContentList/index.vue index aad3b09..0026e66 100644 --- a/src/pages/index/components/module/DiscoveryCradContentList/index.vue +++ b/src/pages/index/components/module/DiscoveryCradContentList/index.vue @@ -30,8 +30,7 @@ const sendReply = (item) => { uni.$emit(SEND_MESSAGE_COMMAND_TYPE, commonItem); return; } - const topic = item.topic.replace(/^#/, ""); - uni.$emit(SEND_MESSAGE_CONTENT_TEXT, topic); + uni.$emit(SEND_MESSAGE_CONTENT_TEXT, item.userInputContent); }; diff --git a/src/pages/index/components/module/RecommendPostsList/index.vue b/src/pages/index/components/module/RecommendPostsList/index.vue index 2ddb1fe..ed7d22b 100644 --- a/src/pages/index/components/module/RecommendPostsList/index.vue +++ b/src/pages/index/components/module/RecommendPostsList/index.vue @@ -39,8 +39,7 @@ const sendReply = (item) => { uni.$emit(SEND_MESSAGE_COMMAND_TYPE, commonItem); return; } - const topic = item.topic.replace(/^#/, ""); - uni.$emit(SEND_MESSAGE_CONTENT_TEXT, topic); + uni.$emit(SEND_MESSAGE_CONTENT_TEXT, item.userInputContent); };