Add automated fix workflow for AI nutritionist page
- 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
This commit is contained in:
18
msh_single_uniapp/.fixes/backlog/FIX-005-stable-key.md
Normal file
18
msh_single_uniapp/.fixes/backlog/FIX-005-stable-key.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# FIX-005: 消息列表使用稳定 key
|
||||
|
||||
**状态**: 待开始
|
||||
**创建时间**: 2026-02-28
|
||||
**优先级**: 中
|
||||
**负责人**: msh-agent
|
||||
|
||||
---
|
||||
|
||||
## 问题描述
|
||||
|
||||
`:key="index"` 在列表中间增删时可能影响复用与动画,建议改为稳定 id。
|
||||
|
||||
---
|
||||
|
||||
## 修复方案
|
||||
|
||||
为每条消息生成唯一 id(如 uuid 或服务端 id),用 `:key="msg.id"`。
|
||||
Reference in New Issue
Block a user