wujingjing
2025-01-09 04bc71e7d3fb99c95c8771acc65549d553209f24
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>