diff --git a/Batch.md b/Batch.md index b4e0fc6..0125e52 100644 --- a/Batch.md +++ b/Batch.md @@ -386,16 +386,25 @@ ## Batch 31 — God 文件拆分第一步(MessageList) -- **提交**: `当前待提交` +- **提交**: `2c2b2d7` - **内容**: - 提取 useMessageScroll.ts(滚动跟随/锁存/回底按钮,89 行) - 提取 MessageItem.vue(单条消息按 role 渲染,171 行) - MessageList.vue 从 1552 行降至 1386 行(-166 行) - **验证**: vue-tsc + vite build 通过 +## Batch 32 — God 文件拆分第二步(ChatInput) + +- **提交**: `当前待提交` +- **内容**: + - 提取 SkillMention.vue(/@ 联想浮层,63 行) + - 提取 ImageInput.vue(图片粘贴/拖拽预览,33 行) + - ChatInput.vue 从 1183 行降至 1155 行 +- **验证**: vue-tsc + vite build 通过 + ## 后续规划批次(待推进) -### Batch 32 — ChatInput 拆分 +### Batch 33 — 多 ReAct 对接 1. 提取 SkillMention.vue(/@ 联想浮层) 2. 提取 ImageInput.vue(图片粘贴/拖拽) 3. ChatInput.vue 从 1183 行降至 ~500 行 diff --git a/src/components/ai/ChatInput.vue b/src/components/ai/ChatInput.vue index cac8e44..7e22a4a 100644 --- a/src/components/ai/ChatInput.vue +++ b/src/components/ai/ChatInput.vue @@ -1,28 +1,18 @@