- Create .fixes/ directory structure for tracking repairs - Add FIX-001 to FIX-009 repair tasks based on Cursor review - Add automation scripts (start-fix.sh, complete-fix.sh) - Update HEARTBEAT.md with repair checklist - Create AUTOMATION_PLAN.md with workflow documentation Fixes address: - Remove fake initial data - Add clear chat button - Split oversized component - Optimize multi-image upload - Fix scroll behavior - Remove dead code - Extract hardcoded config
19 lines
370 B
Markdown
19 lines
370 B
Markdown
# FIX-005: 消息列表使用稳定 key
|
||
|
||
**状态**: 待开始
|
||
**创建时间**: 2026-02-28
|
||
**优先级**: 中
|
||
**负责人**: msh-agent
|
||
|
||
---
|
||
|
||
## 问题描述
|
||
|
||
`:key="index"` 在列表中间增删时可能影响复用与动画,建议改为稳定 id。
|
||
|
||
---
|
||
|
||
## 修复方案
|
||
|
||
为每条消息生成唯一 id(如 uuid 或服务端 id),用 `:key="msg.id"`。
|