From a22820cfed42dd22b21208b7a310d5d46dc759c0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 01 七月 2025 14:34:09 +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