This commit is contained in:
zhu
2026-03-27 17:55:18 +08:00
parent ee03132cee
commit 382f6b9811
34 changed files with 1406 additions and 376 deletions

15
pages/chat/read.md Normal file
View File

@@ -0,0 +1,15 @@
聊天列表类型
``` typescript
interface ChatType{
loading: boolean, // 是否开始响应
end:boolean,//响应输出完成
chat_type: 1 | 2, // 1用户2ai普通响应
chat_content: string, //文本内容
md_content: string, //md格式
con_type:1, //消息类型1文本2图片
tool:string, //用工具时的默认内容,为空代表不是工具
chat_status?:number, //2停止
quick_btn:[], //快捷菜单按钮,为空不显示
drugList:[],//药品信息,只用来设置提醒
}
```