优化脚本

This commit is contained in:
Azmat@qq.com
2026-08-31 11:57:34 +08:00
parent f59e9d0418
commit cbd4f362d9
20 changed files with 261 additions and 74 deletions
-6
View File
@@ -286,12 +286,6 @@ export function VideoRemixPage({ textModels = [], onNotify, onBack, navigate }:
if (blobPreviewUrl) URL.revokeObjectURL(blobPreviewUrl);
}, [blobPreviewUrl]);
useEffect(() => {
const el = promptRef.current;
if (!el || !hasResult) return;
el.style.height = "auto";
el.style.height = `${Math.max(132, el.scrollHeight)}px`;
}, [prompt, hasResult]);
useEffect(() => {
if (!pollId) return;