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) {