wujingjing
2025-01-07 baba739c537b153b9426746374691afcd90a8c47
src/components/chat/messageList/index.vue
@@ -15,6 +15,7 @@
            :isLast="msgIndex === msgList.length - 1"
            @sendChatMessage="sendChatMessage"
            @shareMsg="shareClick"
            @stopGenClick="stopGenClick"
            :isTalking="isTalking"
         />
      </div>
@@ -57,6 +58,7 @@
   setCommonQuestionClick: (msg: ChatMessage) => true,
   sendChatMessage: (msg: ChatContent) => true,
   askMoreClick: (msg: ContextHistory) => true,
   stopGenClick: () => true,
});
const showAskMore = computed(() => {
   if (!props.msgList || props.msgList.length === 0) return false;
@@ -80,5 +82,9 @@
const askMoreClick = (msg: ContextHistory) => {
   emit('askMoreClick', msg);
};
const stopGenClick = () => {
   emit('stopGenClick');
};
</script>
<style scoped lang="scss"></style>