refactor(recommend): 修正聊天数据操作类型并优化欢迎消息- 将 chatData 中的 action 类型从 'product_recommand' 修改为 'product_recommend',统一命名规范

- 更新欢迎消息,使其更加个性化和贴切,强调根据用户信息进行推荐
This commit is contained in:
陈昱达
2025-07-01 13:57:11 +08:00
parent 26cbb31774
commit cc7d958bcc

View File

@@ -28,7 +28,7 @@
:is-searching.sync="isSearching"
:product-name.sync="productName"
:autoScrollEnabled.sync="autoScrollEnabled"
:chatData="{ action: 'product_recommand' }"
:chatData="{ action: 'product_recommend' }"
@getIsThink="getIsThink"
></chatMessage>
</div>
@@ -60,7 +60,7 @@ export default {
messages: [
{
type: 'bot',
text: '欢迎使用产品推荐智能助手,我将推荐符合您的产品',
text: '欢迎使用产品推荐智能助手,我将根据您的信息为您推荐更适合您的产品',
},
],
isSearching: false,