From 36d1334695a28fe6b49c1c7bb4bccb7f3ae5c443 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 02 七月 2025 10:29:07 +0800
Subject: [PATCH] 测试完成

---
 src/views/knowledge/questionbank/particulars/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue
index 8859a64..f13501d 100644
--- a/src/views/knowledge/questionbank/particulars/index.vue
+++ b/src/views/knowledge/questionbank/particulars/index.vue
@@ -328,7 +328,9 @@
                     <el-image
                       style="width: 100px; height: 100px"
                       :src="topicobj.picturePath"
-                      :preview-src-list="[...topicobj.picturePath]"
+                      :preview-src-list="
+                                topicobj.picturePath ? [topicobj.picturePath] : []
+                              "
                     >
                     </el-image>
                   </div>
@@ -518,7 +520,9 @@
                         <el-image
                           style="width: 100px; height: 100px"
                           :src="item.picturePath"
-                          :preview-src-list="[...item.picturePath]"
+                          :preview-src-list="
+                                item.picturePath ? [item.picturePath] : []
+                              "
                         >
                         </el-image>
                       </div>

--
Gitblit v1.9.3