From ea7735839faaec2a461325adbbba1b9e5b162e8e Mon Sep 17 00:00:00 2001 From: yoon Date: Fri, 28 Feb 2025 14:05:27 +0900 Subject: [PATCH 1/4] =?UTF-8?q?@input=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/input/FormInput.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/input/FormInput.vue b/src/components/input/FormInput.vue index a51c16c..d1ad6fd 100644 --- a/src/components/input/FormInput.vue +++ b/src/components/input/FormInput.vue @@ -15,6 +15,7 @@ :disabled="disabled" :min="min" @focusout="$emit('focusout', modelValue)" + @input="handleInput" />
{{ title }}을 확인해주세요. @@ -92,11 +93,6 @@ const inputValue = ref(props.modelValue); // 부모로 데이터 업데이트 watch(inputValue, (newValue) => { emits('update:modelValue', newValue); - - // 값이 입력될 때 `alert`를 false로 설정 - if (newValue.trim() !== '') { - emits('update:alert', false); - } }); // 초기값 동기화 @@ -106,6 +102,13 @@ watch(() => props.modelValue, (newValue) => { } }); +const handleInput = (event) => { + const newValue = event.target.value.slice(0, props.maxlength); + + if (newValue.trim() !== '') { + emits('update:alert', false); + } +}; From 469688b2d09ac5757ab2d3190b879ef1b839e97a Mon Sep 17 00:00:00 2001 From: yoon Date: Fri, 28 Feb 2025 14:09:13 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EC=A7=80=EB=8F=84=20=ED=9C=A0=20=EC=95=88?= =?UTF-8?q?=EB=8F=BC=EB=8A=94=EA=B1=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/list/ProjectCard.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/list/ProjectCard.vue b/src/components/list/ProjectCard.vue index 272c0f4..7af8059 100644 --- a/src/components/list/ProjectCard.vue +++ b/src/components/list/ProjectCard.vue @@ -38,7 +38,7 @@
{{ address }} {{ addressdtail }} -
+
@@ -46,8 +46,7 @@ v-if="coordinates" :lat="coordinates.lat" :lng="coordinates.lng" - :draggable="false" - class="w-100 h-px-200" + class="w-px-200 h-px-200" > Date: Fri, 28 Feb 2025 14:09:27 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=EC=83=89=EC=83=81=20=EB=AF=B8=EB=A6=AC?= =?UTF-8?q?=EB=B3=B4=EA=B8=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/projectlist/ProjectList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/projectlist/ProjectList.vue b/src/components/projectlist/ProjectList.vue index 7df7b41..0ebed53 100644 --- a/src/components/projectlist/ProjectList.vue +++ b/src/components/projectlist/ProjectList.vue @@ -49,6 +49,7 @@ :is-essential="true" :is-label="true" :is-common="true" + :is-color="true" :data="colorList" @update:data="color = $event" /> From e8c35bba82f9397bced715d54d07f374b793bf5e Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Fri, 28 Feb 2025 14:43:19 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20=EB=8B=A4=EC=8B=9C=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardWrite.vue | 91 ++++++++++++++++++++++------------ 1 file changed, 59 insertions(+), 32 deletions(-) diff --git a/src/views/board/BoardWrite.vue b/src/views/board/BoardWrite.vue index 45d2657..1bf48cf 100644 --- a/src/views/board/BoardWrite.vue +++ b/src/views/board/BoardWrite.vue @@ -9,7 +9,6 @@
- *
- +
내용을 입력해주세요. @@ -93,22 +92,22 @@