From a4dff39e4fd1e29b4b94997c79a1dd5f575f56de Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 29 七月 2024 11:15:42 +0800
Subject: [PATCH] 测试完成

---
 src/components/Regular/index.vue           |    3 ++-
 src/views/repositoryai/intention/index.vue |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index e1553ba..42b2e87 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -399,8 +399,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;
     },
   },
diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue
index f50fd78..ea7af50 100644
--- a/src/views/repositoryai/intention/index.vue
+++ b/src/views/repositoryai/intention/index.vue
@@ -967,6 +967,7 @@
         targetvalue: "",
         targetregex: "",
         targetregex2: "",
+        picturePath: "",
         dynamiccruxs: [],
         nodynamiccruxs: [],
         dynamiccruxsJson: "",
@@ -1019,6 +1020,7 @@
           nodynamiccruxsJson: item.nodynamiccruxsJson,
           targetoptionid: item.targetoptionid,
           isabnormal: item.isabnormal,
+          picturePath: item.picturePath,
         };
       });
       console.log(this.testuserList);
@@ -1174,6 +1176,7 @@
           targetregex: "",
           targetregex2: "",
           isoperation: 1,
+          picturePath: "",
           dynamiccruxs: [],
           nodynamiccruxs: [],
           dynamiccruxsJson: "",

--
Gitblit v1.9.3