fix(描述输入): 字符限制
This commit is contained in:
parent
8289daf30f
commit
7f32196b35
|
@ -72,6 +72,7 @@
|
||||||
v-model:model-value="element[model.field]"
|
v-model:model-value="element[model.field]"
|
||||||
class="flex-1"
|
class="flex-1"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
:max-length="model.maxLength"
|
||||||
:disabled="model.disabled"
|
:disabled="model.disabled"
|
||||||
@change="
|
@change="
|
||||||
() => {
|
() => {
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
v-model:model-value="quickInputValue"
|
v-model:model-value="quickInputValue"
|
||||||
:placeholder="props.placeholder"
|
:placeholder="props.placeholder"
|
||||||
:auto-size="{ minRows: 2 }"
|
:auto-size="{ minRows: 2 }"
|
||||||
:max-length="1000"
|
:max-length="props.maxLength"
|
||||||
/>
|
/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
|
@ -82,7 +82,6 @@
|
||||||
title: '',
|
title: '',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
size: 'medium',
|
size: 'medium',
|
||||||
maxLength: 1000,
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
|
|
|
@ -597,7 +597,6 @@
|
||||||
v-model:model-value="quickInputDescValue"
|
v-model:model-value="quickInputDescValue"
|
||||||
:placeholder="t('apiTestDebug.descPlaceholder')"
|
:placeholder="t('apiTestDebug.descPlaceholder')"
|
||||||
:auto-size="{ minRows: 2 }"
|
:auto-size="{ minRows: 2 }"
|
||||||
:max-length="1000"
|
|
||||||
></a-textarea>
|
></a-textarea>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<DomainModal v-model:visible="hostVisible" :data="hostData" />
|
<DomainModal v-model:visible="hostVisible" :data="hostData" />
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
</MsButton>
|
</MsButton>
|
||||||
<MsButton
|
<MsButton
|
||||||
v-if="record.result === ExecuteResultEnum.ERROR"
|
v-if="record.result === ExecuteResultEnum.ERROR"
|
||||||
v-permission="getCurrentPermission('STOP')"
|
v-permission="[getCurrentPermission('STOP')]"
|
||||||
@click="rerunTask(record)"
|
@click="rerunTask(record)"
|
||||||
>
|
>
|
||||||
{{ t('ms.taskCenter.rerun') }}
|
{{ t('ms.taskCenter.rerun') }}
|
||||||
|
|
Loading…
Reference in New Issue