fix(接口测试): 修复sql操作与设计稿不符的缺陷

--bug=1037628 --user=王孝刚 【接口测试】定义-接口/用例-前置/后置-SQL操作-SQL操作名称与设计稿一致
https://www.tapd.cn/55049933/s/1500464
This commit is contained in:
wxg0103 2024-04-18 10:48:57 +08:00 committed by 刘瑞斌
parent e895f6ee8b
commit 2c97f17dc6
3 changed files with 6 additions and 1 deletions

View File

@ -218,4 +218,6 @@ export default {
'ms.paramsInput.char': 'Generate Unicode character values from a list of numbers',
'ms.paramsInput.changeCase': 'Change case according to different modes',
'ms.paramsInput.regexFunction': 'Parse previous responses using regular expressions',
'ms.paramsInput.sqlOperationName': 'Please enter SQL operation name',
'ms.paramsInput.sqlOperationNameDesc': 'SQL operation name',
};

View File

@ -209,4 +209,6 @@ export default {
'ms.paramsInput.char': '从数字列表生成 Unicode 字符值',
'ms.paramsInput.changeCase': '根据不同模式更改大小写',
'ms.paramsInput.regexFunction': '使用正则表达式解析先前的响应',
'ms.paramsInput.sqlOperationName': '请输入SQL 操作名称',
'ms.paramsInput.sqlOperationNameDesc': 'SQL 操作名称',
};

View File

@ -250,11 +250,12 @@
</template>
<!-- SQL操作 -->
<template v-else-if="condition.processorType === RequestConditionProcessor.SQL">
<div class="mb-[8px] text-[var(--color-text-1)]">{{ t('ms.paramsInput.sqlOperationNameDesc') }}</div>
<div class="mb-[8px]">
<a-input
v-model:model-value="condition.name"
:disabled="props.disabled"
:placeholder="t('ms.paramsInput.commonDescPlaceholder')"
:placeholder="t('ms.paramsInput.sqlOperationName')"
:max-length="255"
@input="() => emit('change')"
/>