ant-design / pro-chat

🤖 Components Library for Quickly Building LLM Chat Interfaces.
https://pro-chat.antdigital.dev
MIT License
685 stars 88 forks source link

怎样在chatItemRenderConfig 的 contentRender 判断当前的聊天记录是否是最后一项呢?🧐[问题] #260

Open sumaolin opened 3 months ago

sumaolin commented 3 months ago

🧐 问题描述

💻 示例代码

🚑 其他信息

ONLY-yours commented 3 months ago

感觉可以在 onChatsChange 的时候记录下,然后 contentRender 里面拿来判断下