fix(接口测试): 单文件上传清理按钮&自定义请求环境引用修复
This commit is contained in:
parent
1790bac49b
commit
6f135be7fc
|
@ -205,8 +205,12 @@
|
||||||
:size="props.inputSize"
|
:size="props.inputSize"
|
||||||
allow-clear
|
allow-clear
|
||||||
readonly
|
readonly
|
||||||
@clear="handleFileClear"
|
|
||||||
>
|
>
|
||||||
|
<template v-if="inputFileName" #suffix>
|
||||||
|
<div class="arco-icon-hover arco-input-icon-hover arco-input-clear-btn" @click.stop="handleFileClear">
|
||||||
|
<icon-close />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1343,7 +1343,8 @@
|
||||||
responseActiveTab: ResponseComposition.BODY,
|
responseActiveTab: ResponseComposition.BODY,
|
||||||
stepId: props.step?.uniqueId || '',
|
stepId: props.step?.uniqueId || '',
|
||||||
uniqueId: props.step?.uniqueId || '',
|
uniqueId: props.step?.uniqueId || '',
|
||||||
customizeRequestEnvEnable: true,
|
customizeRequestEnvEnable:
|
||||||
|
props.step?.refType === 'DIRECT' ? props.request.customizeRequestEnvEnable : true, // 自定义请求保留本身保存的是否引用环境,其他的请求固定是引用环境
|
||||||
isNew: false,
|
isNew: false,
|
||||||
});
|
});
|
||||||
if (_stepType.value.isQuoteApi) {
|
if (_stepType.value.isQuoteApi) {
|
||||||
|
|
Loading…
Reference in New Issue