From 783b99e90a91540d7b05a777b838b183558d50d1 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 27 六月 2025 09:22:03 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/questionbank/particulars/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue index e22f153..b64788a 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> @@ -340,7 +342,7 @@ </div> <div v-if="Editprogress == 2"> <el-card class="box-card"> - <el-form :inline="true" :model="topicobj" class="demo-form-inline"> + <el-form :inline="true" ref="topicobj" :model="topicobj" class="demo-form-inline"> <div class="headline"> 鎸囨爣璁剧疆璇︽儏 <span v-if="topicobj.targetname" style="margin-left: 30px" @@ -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> @@ -982,7 +986,7 @@ let scorearr = this.topicobj.svyLibScriptOptions; let isValid = scorearr.every((score, index) => { if (this.topicobj.scriptType == 1) { - if (score.score) { + if (score.score||score.score==0) { if ( Number(score.score) < 0 || Number(score.score) > Number(this.topicobj.score) -- Gitblit v1.9.3