Fix version 1.2.16

This commit is contained in:
2024-12-03 14:27:05 +08:00
parent 270065f46b
commit b638865c33
8 changed files with 53 additions and 25 deletions

View File

@@ -10,13 +10,15 @@ import { useState } from "react";
export function Profile_ComponentLoadBackgroundImage({
fileId,
size
}: {
fileId: string;
size?: number
}) {
const router = useRouter();
const [isImage, setIsImage] = useState<boolean | null>(null);
const [isLoading, setLoading] = useState(false);
const url = APIs.GET({ fileId: fileId });
const url = APIs.GET({ fileId: fileId,size: size ? size.toString() : "200" });
useShallowEffect(() => {
onLoadImage();