fix(接口测试): 修改接口测试自定义请求是否开启全局提示错误问题
This commit is contained in:
parent
fab408b574
commit
d58266e56f
|
@ -17,7 +17,10 @@
|
|||
<div v-if="props.isDefinition && innerConfig" class="flex items-center">
|
||||
<a-switch v-model:model-value="innerConfig.enableGlobal" :disabled="props.disabled" size="small" type="line" />
|
||||
<div class="ml-[8px] text-[var(--color-text-1)]">{{ t('ms.assertion.openGlobal') }}</div>
|
||||
<a-tooltip :content="t('ms.assertion.openGlobalTip')" position="left">
|
||||
<a-tooltip
|
||||
:content="innerConfig.enableGlobal ? t('ms.assertion.openGlobalTip') : t('ms.assertion.closeGlobalTip')"
|
||||
position="left"
|
||||
>
|
||||
<icon-question-circle
|
||||
class="ml-[4px] text-[var(--color-text-brand)] hover:text-[rgb(var(--primary-5))]"
|
||||
size="16"
|
||||
|
|
|
@ -24,6 +24,8 @@ export default {
|
|||
'ms.assertion.openGlobal': 'Implement the Global Declaration',
|
||||
'ms.assertion.openGlobalTip':
|
||||
'It is enabled by default. If it is disabled, the global assertion will not be executed when running this interface.',
|
||||
'ms.assertion.closeGlobalTip':
|
||||
'It is closed by default. If it is disabled, the global assertion will not be executed when running this interface.',
|
||||
'ms.assertion.expectedValueTitle':
|
||||
'The special characters $() * +. "[]{}^ |" to escape as the "special characters", such as "$" escaped"$',
|
||||
};
|
||||
|
|
|
@ -24,5 +24,6 @@ export default {
|
|||
'ms.assertion.validateChild': '添加子校验',
|
||||
'ms.assertion.openGlobal': '启用全局断言',
|
||||
'ms.assertion.openGlobalTip': '默认开启,关闭则运行该接口时不执行全局断言',
|
||||
'ms.assertion.closeGlobalTip': '默认关闭,关闭则运行该接口时不执行全局断言',
|
||||
'ms.assertion.expectedValueTitle': `特殊字符"$ ( ) * + . [ ]{ } \\^ |"需转义为"\\特殊字符",如"$"转义后为"\\$`,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue