Skip to content

Commit cd05017

Browse files
committed
♻️ [fix] : description 1000자로 늘리기
1 parent 78ef734 commit cd05017

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/components/request-task/ReRequestTask.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
v-model="description"
2525
:is-invalidate="isInvalidate === 'description' ? isInvalidate : ''"
2626
:placeholderText="'부가 설명을 입력해주세요'"
27-
:limit-length="200" />
27+
:limit-length="1000" />
2828
<RequestTaskFileInput
2929
v-model="file"
3030
:initFileArr="initFileArr"
@@ -153,7 +153,6 @@ watch(category2, async newVal => {
153153
154154
const handleSubmit = async () => {
155155
if (isSubmitting.value || isModalVisible.value) return
156-
157156
if (!category1.value) {
158157
isInvalidate.value = 'category1'
159158
return
@@ -166,7 +165,7 @@ const handleSubmit = async () => {
166165
} else if (title.value.length > 30) {
167166
isInvalidate.value = 'title'
168167
return
169-
} else if (description.value.length > 200) {
168+
} else if (description.value.length > 1000) {
170169
isInvalidate.value = 'description'
171170
return
172171
}

src/components/request-task/RequestTask.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
v-model="description"
2525
:is-invalidate="isInvalidate === 'description' ? isInvalidate : ''"
2626
:placeholderText="'부가 설명을 입력해주세요'"
27-
:limit-length="200" />
27+
:limit-length="1000" />
2828
<RequestTaskFileInput
2929
v-model="file"
3030
:isUploading="isUploading" />
@@ -140,7 +140,7 @@ const handleSubmit = async () => {
140140
} else if (title.value.length > 30) {
141141
isInvalidate.value = 'title'
142142
return
143-
} else if (description.value.length > 200) {
143+
} else if (description.value.length > 1000) {
144144
isInvalidate.value = 'description'
145145
return
146146
}

src/components/task-detail/TaskDetailLeft.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div v-if="data.description">
1616
<p class="task-detail">부가 설명</p>
1717
<p
18-
class="px-6 py-4 bg-primary2 rounded-lg font-normal min-h-[120px] whitespace-pre-wrap break-all">
18+
class="px-6 py-4 bg-primary2 rounded-lg font-normal min-h-[120px] max-h-[360px] whitespace-pre-wrap break-all">
1919
{{ data.description }}
2020
</p>
2121
</div>

0 commit comments

Comments
 (0)