From b3de26a4f625f901080e92b0d73e1e90141d6d0a Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 06 十二月 2025 09:38:57 +0800
Subject: [PATCH] 图片回显修改

---
 fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js b/fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js
index d396730..e1fc848 100644
--- a/fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js
+++ b/fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js
@@ -138,8 +138,8 @@
     records.forEach(function(record) {
         html += `
             <div class="gallery-item">
-                <img src="/logo-sm.png" alt="${record.id}"
-                     data-url="/logo-sm.png" data-id="${record.id}"
+                <img src="${record.imgName || '/logo-sm.png'}" alt="${record.id}"
+                    data-url="${record.imgName || '/logo-sm.png'}" data-id="${record.id}"
                      class="gallery-img" onclick="showEventInfoPreview(this.getAttribute('data-url'))">
                 <div class="gallery-info">
                     <div class="gallery-header">

--
Gitblit v1.9.3