diff --git a/components/style-pro/StyleProWorkspace.tsx b/components/style-pro/StyleProWorkspace.tsx index 6d34c3b42..3c81b24cf 100644 --- a/components/style-pro/StyleProWorkspace.tsx +++ b/components/style-pro/StyleProWorkspace.tsx @@ -16,7 +16,6 @@ import useSWR from "swr"; import { toast } from "sonner"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; -import { ScrollArea } from "@/components/ui/scroll-area"; import { imageGenerationService } from "@/services/canvas"; import { cn, fetcher } from "@/lib/utils"; import type { @@ -107,7 +106,7 @@ function ImagePreview({ return (
@@ -208,7 +207,7 @@ function BeforeAfterSlider({ if (!beforeUrl && !afterUrl) { return ( -
+
上传图片后开始生成
); @@ -216,14 +215,14 @@ function BeforeAfterSlider({ if (!afterUrl) { return ( -
+
); } return ( -
+
-