fix(描述输入): 字符限制

This commit is contained in:
baiqi 2024-11-19 14:03:29 +08:00 committed by Craftsman
parent 8289daf30f
commit 7f32196b35
4 changed files with 3 additions and 4 deletions

View File

@ -72,6 +72,7 @@
v-model:model-value="element[model.field]"
class="flex-1"
type="textarea"
:max-length="model.maxLength"
:disabled="model.disabled"
@change="
() => {

View File

@ -55,7 +55,7 @@
v-model:model-value="quickInputValue"
:placeholder="props.placeholder"
:auto-size="{ minRows: 2 }"
:max-length="1000"
:max-length="props.maxLength"
/>
</a-modal>
</template>
@ -82,7 +82,6 @@
title: '',
disabled: false,
size: 'medium',
maxLength: 1000,
}
);
const emit = defineEmits<{

View File

@ -597,7 +597,6 @@
v-model:model-value="quickInputDescValue"
:placeholder="t('apiTestDebug.descPlaceholder')"
:auto-size="{ minRows: 2 }"
:max-length="1000"
></a-textarea>
</a-modal>
<DomainModal v-model:visible="hostVisible" :data="hostData" />

View File

@ -64,7 +64,7 @@
</MsButton>
<MsButton
v-if="record.result === ExecuteResultEnum.ERROR"
v-permission="getCurrentPermission('STOP')"
v-permission="[getCurrentPermission('STOP')]"
@click="rerunTask(record)"
>
{{ t('ms.taskCenter.rerun') }}