From 0b80285c747bfcf9d7898cf7b3537c9f50e871ed Mon Sep 17 00:00:00 2001 From: empty Date: Thu, 8 Jan 2026 11:13:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=20inputType=20=E5=92=8C=20outlinePoints=20=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/app.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/stores/app.js b/src/stores/app.js index e54e406..05c674e 100644 --- a/src/stores/app.js +++ b/src/stores/app.js @@ -14,6 +14,12 @@ export const useAppStore = defineStore('app', () => { // 写作相关 const inputTask = ref('请帮我写一篇关于"AI 辅助编程如何改变软件开发流程"的博客文章,面向中级程序员。') + const inputType = ref('text') // 'text' 或 'outline' + const outlinePoints = ref({ + topic: '', + audience: '', + keyPoints: '' + }) const references = ref([ { title: '示例:技术博客风格.txt', @@ -226,10 +232,14 @@ export const useAppStore = defineStore('app', () => { apiUrl, apiKey, inputTask, + inputType, + outlinePoints, references, selectedTags, customConstraint, isGenerating, + isDeepMode, + generationStage, generatedContent, analysisText, analysisResult,