diff --git a/config/VERSION b/config/VERSION
index d04827c..f5d32b2 100644
--- a/config/VERSION
+++ b/config/VERSION
@@ -2,7 +2,7 @@
# Version Configuration for Zodiac Collection Management System
# 当前版本号 (语义化版本:主版本。次版本.修订版)
-VERSION=1.1.7
+VERSION=1.1.8
# 版本代号 (可选)
VERSION_CODENAME="新生"
diff --git a/frontend/index.html b/frontend/index.html
index 0719e53..a185ee1 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -4,7 +4,7 @@
-

{ setCurrentImageIndex(index); setShowImage(true); }}
style={{
@@ -291,7 +291,7 @@ export default function Detail() {
{/* 图片 */}
![{collection.images[currentImageIndex].originalName]({`/${collection.images[currentImageIndex].path)
e.stopPropagation()}
style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain' }}
diff --git a/frontend/src/pages/Edit.jsx b/frontend/src/pages/Edit.jsx
index 396ee6f..69452ee 100644
--- a/frontend/src/pages/Edit.jsx
+++ b/frontend/src/pages/Edit.jsx
@@ -123,7 +123,7 @@ export default function Edit() {
if (data.images && Array.isArray(data.images)) {
const images = data.images.map(img => ({
file: null,
- preview: `/${img.path || `uploads/collections/${img.filename}`}`,
+ preview: img.path?.startsWith('http') ? img.path : `/${img.path || `uploads/collections/${img.filename}`}`,
name: img.original_name || img.filename,
size: 0,
id: img.id
@@ -182,7 +182,7 @@ export default function Edit() {
if (data.images && Array.isArray(data.images)) {
const images = data.images.map(img => ({
file: null,
- preview: `/${img.path || `uploads/collections/${img.filename}`}`,
+ preview: img.path?.startsWith('http') ? img.path : `/${img.path || `uploads/collections/${img.filename}`}`,
name: img.original_name || img.filename,
size: 0,
id: img.id