fix(接口测试): 单文件上传清理按钮&自定义请求环境引用修复

This commit is contained in:
baiqi 2024-09-06 10:46:29 +08:00 committed by Craftsman
parent 1790bac49b
commit 6f135be7fc
2 changed files with 7 additions and 2 deletions

View File

@ -205,8 +205,12 @@
:size="props.inputSize"
allow-clear
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>
</div>
</template>

View File

@ -1343,7 +1343,8 @@
responseActiveTab: ResponseComposition.BODY,
stepId: props.step?.uniqueId || '',
uniqueId: props.step?.uniqueId || '',
customizeRequestEnvEnable: true,
customizeRequestEnvEnable:
props.step?.refType === 'DIRECT' ? props.request.customizeRequestEnvEnable : true, //
isNew: false,
});
if (_stepType.value.isQuoteApi) {