From aaf89fc245d6ed51a8ed2cbc43edd09b53eec5cb Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Fri, 4 Sep 2026 14:51:11 +0800 Subject: [PATCH] fix: unify extract video voice progress text & cleanup file input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Unify progress modal text to '正在提取音频,请稍后...' throughout the entire upload+extraction flow, instead of showing different text for upload vs extraction phases. 2. Clear file input value on modal close to help browser release the file handle sooner, reducing residual cache in browser temp storage. --- apps/web/src/pages/voices/components/VideoExtractModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/src/pages/voices/components/VideoExtractModal.tsx b/apps/web/src/pages/voices/components/VideoExtractModal.tsx index 40292bce7..7b3020b48 100644 --- a/apps/web/src/pages/voices/components/VideoExtractModal.tsx +++ b/apps/web/src/pages/voices/components/VideoExtractModal.tsx @@ -30,6 +30,7 @@ const VideoExtractModal: React.FC = ({ title={提取视频配音} open={open} onCancel={() => { + if (inputRef.current) inputRef.current.value = "" if (isExtracting) return onClose() }} @@ -152,7 +153,7 @@ const VideoExtractModal: React.FC = ({ {isExtracting && (

- {progress === 100 ? "正在提取人声,请稍候..." : "正在上传视频..."} + {"正在提取音频,请稍后..."}

)} -- 2.54.0