diff --git a/src/components/LoadingOverlay/index.css b/src/components/LoadingOverlay/index.css index 55a5fb6..73d2cb5 100644 --- a/src/components/LoadingOverlay/index.css +++ b/src/components/LoadingOverlay/index.css @@ -78,5 +78,5 @@ .loading-container .btn-secondary { background: rgba(255, 255, 255, 0.2); - color: white; + color: black; } \ No newline at end of file diff --git a/src/pages/generate/index.tsx b/src/pages/generate/index.tsx index 096de3f..6011cf5 100644 --- a/src/pages/generate/index.tsx +++ b/src/pages/generate/index.tsx @@ -45,13 +45,6 @@ export default function Generate() { if (result.status === 'completed') { setStatus('success') setResult({ success: true, imageUrl: result.outputUrl }) - - // 成功后跳转到result页面 - setTimeout(() => { - navigateTo({ - url: `/pages/result/index?images=${encodeURIComponent(JSON.stringify([result.outputUrl]))}` - }) - }, 1000) } else if (result.status === 'failed') { setStatus('error') setResult({ success: false, error: result.error || '处理失败' }) @@ -109,9 +102,9 @@ export default function Generate() { 处理完成! - {result?.imageUrl && ( + {result?.outputUrl && ( - + )}