This commit is contained in:
root 2025-07-11 17:50:20 +08:00
parent 3da2bc7c97
commit 75c6557a6c
1 changed files with 1 additions and 1 deletions

View File

@ -27,8 +27,8 @@ const ProjectImage: React.FC<ProjectImageProps> = ({ imagePath, alt, className }
} }
try { try {
const dataUrl = convertFileSrc(imagePath) const dataUrl = convertFileSrc(imagePath)
console.log({ dataUrl })
setImageSrc(dataUrl) setImageSrc(dataUrl)
} catch (error) { } catch (error) {
console.error('Failed to read image:', error) console.error('Failed to read image:', error)