forked from 77media/video-flow
添加失败文案
This commit is contained in:
parent
aac7ccb4e0
commit
8b4604ba07
@ -559,8 +559,15 @@ export const MediaViewer = React.memo(function MediaViewer({
|
|||||||
)}
|
)}
|
||||||
{/* 生成失败 */}
|
{/* 生成失败 */}
|
||||||
{taskObject.videos.data[currentSketchIndex].video_status === 2 && (
|
{taskObject.videos.data[currentSketchIndex].video_status === 2 && (
|
||||||
<div className="absolute inset-0 bg-[#fcb0ba1a] flex items-center justify-center">
|
<div className="absolute inset-0 bg-[#fcb0ba1a] flex flex-col items-center justify-center">
|
||||||
<img src={error_image.src} alt="error" className="w-12 h-12" />
|
<img src={error_image.src} alt="error" className="w-12 h-12" />
|
||||||
|
{/* 文案 */}
|
||||||
|
<div className="text-white text-center">
|
||||||
|
<div className="text-sm font-medium" role="status" aria-live="polite" aria-busy="true">
|
||||||
|
Failed
|
||||||
|
</div>
|
||||||
|
<div className="text-xs text-white/60 mt-1">Violation of security policy. Please modify your prompt and regenerate.</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user