From 3d50e2c6d8cd86ee10b4353ad6365c59f588dbc4 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 31 七月 2024 17:22:02 +0800
Subject: [PATCH] 测试完成

---
 src/components/Regular/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index e1553ba..bab62b1 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -6,7 +6,7 @@
           ><el-form-item label="閫夐」鍚嶇О">
             <el-input
               type="text"
-              placeholder="璇疯緭鍏�"
+              placeholder="璇疯緭鍏ワ紙蹇呭~椤癸級"
               v-model="item.targetvalue"
               show-word-limit
             >
@@ -150,7 +150,7 @@
           >
         </div>
       </el-form-item>
-      <el-form-item label="閫夐」鏂囦欢" prop="sickness">
+      <el-form-item label="閫夐」鏂囦欢" prop="sickness" v-if="Verbalproblem">
         <div style="width: 40vw">
           <el-upload
             class="upload-demo"
@@ -268,6 +268,10 @@
       default: true,
     },
     hasValue: {
+      type: Boolean,
+      default: true,
+    },
+    Verbalproblem: {
       type: Boolean,
       default: true,
     },
@@ -399,8 +403,9 @@
       console.log(item, "item");
       console.log(this.TargetoptionList, "this.TargetoptionList");
       let index = this.TargetoptionList.findIndex(
-        (obj) => obj.guid == item.guid && obj.name == item.name
+        (obj) => obj.guid == item.guid
       );
+      console.log(index);
       this.TargetoptionList[index].picturePath = response.url;
     },
   },

--
Gitblit v1.9.3