From 412d3f3a9a502b6367654e7626621c65c2fdabb1 Mon Sep 17 00:00:00 2001 From: Peanut Date: Mon, 20 Jul 2026 21:17:34 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=BE=84=E6=B8=85=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=B7=B2=E5=9B=9E=E7=AD=94=E6=98=BE=E7=A4=BA=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AE=9E=E6=96=BD=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...9-clarification-card-answer-display-fix.md | 183 ++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 docs/superpowers/plans/2026-07-19-clarification-card-answer-display-fix.md diff --git a/docs/superpowers/plans/2026-07-19-clarification-card-answer-display-fix.md b/docs/superpowers/plans/2026-07-19-clarification-card-answer-display-fix.md new file mode 100644 index 0000000..7ba63de --- /dev/null +++ b/docs/superpowers/plans/2026-07-19-clarification-card-answer-display-fix.md @@ -0,0 +1,183 @@ +# 澄清卡片已回答显示修复实施计划 + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 修复澄清卡片提交后"已回答:xxx"显示英文 value 而非中文 label,以及已回答状态不显示 AI 问题的问题。 + +**Architecture:** 在 `ScriptView.vue` 的 `submitClarification` 函数中,通过 value 查找 `card.options` 对应的 label,用 label 显示(`card.answer` 和 `addResultMessage`),后端 payload 仍用 value。在 `card-answered` 模板中显示 AI 的问题(`msg.card?.question`)。 + +**Tech Stack:** UniApp Vue 3 `