From 7f32196b352d737d651115482c837ccce2cf92b5 Mon Sep 17 00:00:00 2001 From: baiqi Date: Tue, 19 Nov 2024 14:03:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8F=8F=E8=BF=B0=E8=BE=93=E5=85=A5):=20?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/business/ms-batch-form/index.vue | 1 + frontend/src/components/business/ms-quick-input/index.vue | 3 +-- frontend/src/views/api-test/components/paramTable.vue | 1 - frontend/src/views/taskCenter/component/caseTaskTable.vue | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/business/ms-batch-form/index.vue b/frontend/src/components/business/ms-batch-form/index.vue index 707bef6c32..d79e546508 100644 --- a/frontend/src/components/business/ms-batch-form/index.vue +++ b/frontend/src/components/business/ms-batch-form/index.vue @@ -72,6 +72,7 @@ v-model:model-value="element[model.field]" class="flex-1" type="textarea" + :max-length="model.maxLength" :disabled="model.disabled" @change=" () => { diff --git a/frontend/src/components/business/ms-quick-input/index.vue b/frontend/src/components/business/ms-quick-input/index.vue index 2ede7367d0..db8e1e8c89 100644 --- a/frontend/src/components/business/ms-quick-input/index.vue +++ b/frontend/src/components/business/ms-quick-input/index.vue @@ -55,7 +55,7 @@ v-model:model-value="quickInputValue" :placeholder="props.placeholder" :auto-size="{ minRows: 2 }" - :max-length="1000" + :max-length="props.maxLength" /> @@ -82,7 +82,6 @@ title: '', disabled: false, size: 'medium', - maxLength: 1000, } ); const emit = defineEmits<{ diff --git a/frontend/src/views/api-test/components/paramTable.vue b/frontend/src/views/api-test/components/paramTable.vue index 5f3e988b28..c6032e020b 100644 --- a/frontend/src/views/api-test/components/paramTable.vue +++ b/frontend/src/views/api-test/components/paramTable.vue @@ -597,7 +597,6 @@ v-model:model-value="quickInputDescValue" :placeholder="t('apiTestDebug.descPlaceholder')" :auto-size="{ minRows: 2 }" - :max-length="1000" > diff --git a/frontend/src/views/taskCenter/component/caseTaskTable.vue b/frontend/src/views/taskCenter/component/caseTaskTable.vue index c4dac41bde..ea0b79543e 100644 --- a/frontend/src/views/taskCenter/component/caseTaskTable.vue +++ b/frontend/src/views/taskCenter/component/caseTaskTable.vue @@ -64,7 +64,7 @@ {{ t('ms.taskCenter.rerun') }}