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 ++- 1 files changed, 2 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; }, }, -- Gitblit v1.9.3