Files
msh-system/msh_single_uniapp/.fixes/completed/FIX-002/README.md
scottpan 4be53dcd1b feat: 集成 KieAI 服务,移除 models-integration 子项目
- 添加 Gemini 2.5 Flash 对话接口(流式+非流式)
- 添加 NanoBanana 图像生成/编辑接口
- 添加 Sora2 视频生成接口(文生视频、图生视频、去水印)
- 移除 models-integration 子项目(功能已迁移至主后端)
- 新增测试文档和 Playwright E2E 配置
- 更新前端页面和 API 接口
- 更新后端配置和日志处理
2026-03-03 15:33:50 +08:00

33 lines
705 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# FIX-002: 添加清空对话按钮
**状态: 已完成
**创建时间**: 2026-02-28
**优先级**: 中
**负责人**: msh-agent
---
## 问题描述
`clearChat()` 方法已实现清空消息列表和会话ID但在模板中没有对应的触发按钮用户无法清空对话。
### 预期行为
在页面顶部导航栏或输入区域提供"清空对话"按钮。
---
## 修复方案
`promo-banner` 右侧添加清空按钮图标,绑定 `@click="clearChat"`
---
## 实施步骤
- [ ] 1. 备份原文件
- [ ] 2. 在 `promo-banner` 区域添加清空按钮
- [ ] 3. 绑定 `@click="clearChat"`
- [ ] 4. 添加样式
- [ ] 5. 测试确认对话框
- [ ] 6. 多端测试