feat: life-script AI 运行时和视图优化

This commit is contained in:
2026-05-26 20:50:05 +08:00
parent c289097ca0
commit a51d225897
4 changed files with 46 additions and 8 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ const ScriptView = ({ onOpenProfile }) => {
const [length, setLength] = useState(scriptLengths[0].value);
const [isLoading, setIsLoading] = useState(false);
const [streamContent, setStreamContent] = useState('');
const scriptWriter = useTypewriterStream({ interval: 18, step: 1 });
const scriptWriter = useTypewriterStream({ interval: 30, step: 1 });
// 编辑模态框状态
const [isEditModalOpen, setIsEditModalOpen] = useState(false);