fix(接口测试): 创建mock输入框去掉要多选一步骤的操作

This commit is contained in:
Jianguo-Genius 2024-12-19 14:33:26 +08:00 committed by 刘瑞斌
parent cc8736efcd
commit 16ddcc14ce
1 changed files with 13 additions and 8 deletions

View File

@ -25,15 +25,22 @@
:rules="[{ required: true, message: t('mockManagement.paramNameNotNull') }]"
:disabled="props.disabled"
>
<a-select
<a-auto-complete
v-model="item.key"
:placeholder="t('apiTestDebug.paramName')"
:options="props.keyOptions"
allow-search
allow-create
:data="props.keyOptions"
@change="(val) => selectedKey(item, idx)"
>
</a-select>
/>
<!-- <a-select-->
<!-- v-model="item.key"-->
<!-- :placeholder="t('apiTestDebug.paramName')"-->
<!-- :options="props.keyOptions"-->
<!-- allow-search-->
<!-- allow-create-->
<!-- @change="(val) => selectedKey(item, idx)"-->
<!-- >-->
<!-- </a-select>-->
</a-form-item>
</div>
<div class="w-[110px]">
@ -342,7 +349,6 @@
// activeQuickInputRecord.value = {};
// quickInputDescValue.value = '';
// }
// function applyQuickInputDesc() {
// activeQuickInputRecord.value.description = quickInputDescValue.value;
// showQuickInputDesc.value = false;
@ -350,7 +356,6 @@
// clearQuickInputDesc();
// emitChange('applyQuickInputDesc');
// }
// function handleDescChange() {
// emitChange('handleDescChange');
// }