From bca114c082cdbc8c992c60b4bf877c500ba90be2 Mon Sep 17 00:00:00 2001 From: Yesol Choi Date: Thu, 29 May 2025 09:11:44 +0900 Subject: [PATCH] =?UTF-8?q?remove=20:=202=EB=AA=85=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=A0=9C=ED=95=9C=20=EB=A1=9C=EC=A7=81=20=ED=92=80=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app-vuero/VUser.vue | 38 +++++++++++++++++------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/src/components/app-vuero/VUser.vue b/src/components/app-vuero/VUser.vue index 17e299a..bf19bc0 100644 --- a/src/components/app-vuero/VUser.vue +++ b/src/components/app-vuero/VUser.vue @@ -69,23 +69,27 @@ const onKeyup = async (e: any) => { const res = await getUserList({params:{name : e.target.value}}) if (res.length > 0) { - res.forEach(u => { - if (model.value?.length > 0) { - const ignore = model.value.reduce((a: Person, b: Person) => { - return a.sabun + '|' + b.sabun - }) - - if (typeof ignore !== 'object') { - if (ignore.includes(u.sabun)) { - u['disabled'] = true - } - } else { - if (ignore.sabun.includes(u.sabun)) { - u['disabled'] = true - } - } - } - }) + // res.forEach(u => { 2명으로 제한 로직 풀기 25.05.29 + // if (model.value?.length > 0) { + // const ignore = model.value.reduce((a: Person, b: Person) => { + // console.log("aaaaa",a.sabun) + // console.log("bbbbbb",b.sabun) + // return a.sabun + '|' + b.sabun + // }) + // + // if (typeof ignore !== 'object') { + // if (ignore.includes(u.sabun)) { + // console.log("ignore 처리",u.sabun) + // u['disabled'] = true + // } + // } else { + // if (ignore.sabun.includes(u.sabun)) { + // console.log("ignore 처리222",u.sabun) + // u['disabled'] = true + // } + // } + // } + // }) tagsOptions.value = res } } catch (e) {