From a022656b8defdca726d12db26269cbbcdba9eb37 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 08 四月 2025 15:34:49 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue
index 5c2f1a2..e519639 100644
--- a/src/views/knowledge/questionbank/particulars/index.vue
+++ b/src/views/knowledge/questionbank/particulars/index.vue
@@ -982,7 +982,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)
@@ -1092,6 +1092,7 @@
           this.topicobj.scriptType = row.scriptType;
           this.topicobj.scriptContent = row.targetdesc;
           this.topicobj.targetid = row.id;
+          this.topicobj.prompt = row.prompt;
           this.topicobj.targetname = row.targetname;
           this.topicobj.svyLibScriptOptions = [];
           const labellist = row.targetoptionList;

--
Gitblit v1.9.3