feat; 发送的消息类型的统一

This commit is contained in:
2025-10-16 20:19:43 +08:00
parent 1f590202a8
commit d9287b47fa
8 changed files with 31 additions and 30 deletions

View File

@@ -20,7 +20,7 @@
</template>
<script setup>
import { RECOMMEND_POSTS_TITLE } from "@/constant/constant";
import { SEND_MESSAGE_CONTENT_TEXT } from "@/constant/constant";
import { defineProps } from "vue";
import ModuleTitle from "@/components/ModuleTitle/index.vue";
@@ -33,7 +33,7 @@ const props = defineProps({
const sendReply = (item) => {
const topic = item.userInputContent || item.topic.replace(/^#/, "");
uni.$emit(RECOMMEND_POSTS_TITLE, topic);
uni.$emit(SEND_MESSAGE_CONTENT_TEXT, topic);
};
</script>