feat: 一些调整
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<template v-if="item.msgType === MessageRole.AI">
|
||||
<ChatCardAI class="message-item-ai" :text="item.msg">
|
||||
<template v-if="item.toolCall">
|
||||
<QuickBookingComponent v-if="item.toolCall.componentName === 'quickBookingCard'" />
|
||||
<QuickBookingComponent v-if="item.toolCall.componentName === CompName.quickBookingCard"/>
|
||||
</template>
|
||||
</ChatCardAI>
|
||||
</template>
|
||||
@@ -41,8 +41,10 @@
|
||||
<ChatCardOther class="message-item-other" :text="item.msg">
|
||||
<OneFeelMK001 v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
|
||||
|
||||
<template v-if="mainPageDataModel.recommendTheme.length > 0" v-for="(item, index) in mainPageDataModel.recommendTheme" :key="item.themeName">
|
||||
<OneFeelMK002 :recommendTheme="item"/>
|
||||
<template v-if="mainPageDataModel.recommendTheme.length > 0">
|
||||
<template v-for="(item) in mainPageDataModel.recommendTheme" :key="item.themeName">
|
||||
<OneFeelMK002 :recommendTheme="item"/>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
</ChatCardOther>
|
||||
@@ -56,7 +58,7 @@
|
||||
<ChatMoreTips @replySent="handleReply" :itemList="mainPageDataModel.guideWords"></ChatMoreTips>
|
||||
<ChatQuickAccess @replySent="handleReplyInstruct"></ChatQuickAccess>
|
||||
<ChatInputArea
|
||||
v-model:inputMessage="inputMessage"
|
||||
v-model="inputMessage"
|
||||
:holdKeyboard="holdKeyboard"
|
||||
@send="sendMessageAction"
|
||||
@noHideKeyboard="handleNoHideKeyboard"
|
||||
@@ -83,7 +85,7 @@
|
||||
import CommandWrapper from '@/components/CommandWrapper/index.vue'
|
||||
import QuickBookingComponent from '../booking/QuickBookingComponent.vue'
|
||||
|
||||
import { MessageRole, MessageType } from '../../model/ChatModel';
|
||||
import { MessageRole, MessageType, CompName } from '../../model/ChatModel';
|
||||
|
||||
import OneFeelMK001 from '../module/OneFeelMK001.vue';
|
||||
import OneFeelMK002 from '../module/OneFeelMK002.vue';
|
||||
|
||||
Reference in New Issue
Block a user