diff --git a/web/src/pages/StrategyStudioPage.tsx b/web/src/pages/StrategyStudioPage.tsx index debfcefa..fcb3fc17 100644 --- a/web/src/pages/StrategyStudioPage.tsx +++ b/web/src/pages/StrategyStudioPage.tsx @@ -774,8 +774,19 @@ export function StrategyStudioPage() { disabled={selectedStrategy.is_default} className="text-lg font-bold bg-transparent border-none outline-none w-full text-nofx-text placeholder-nofx-text-muted" /> + { + setSelectedStrategy({ ...selectedStrategy, description: e.target.value }) + setHasChanges(true) + }} + disabled={selectedStrategy.is_default} + placeholder={language === 'zh' ? '添加策略简介...' : 'Add strategy description...'} + className="text-xs bg-transparent border-none outline-none w-full text-nofx-text-muted placeholder-nofx-text-muted/50 mt-1" + /> {hasChanges && ( - ● 未保存 + ● {language === 'zh' ? '未保存' : 'Unsaved'} )}