fix (接口测试): 针对历史数据兼容处理
--bug=1008169 --user=赵勇 【接口定义】-修改认证配置为No Auth保存失败 https://www.tapd.cn/55049933/s/1071322
This commit is contained in:
parent
5ccbc15b5f
commit
d4f08a2d16
|
@ -254,6 +254,10 @@ export default {
|
|||
let bodyFiles = this.getBodyUploadFiles(data);
|
||||
data.requestId = data.request.id;
|
||||
if (data.request) {
|
||||
// 历史数据处理
|
||||
if(data.request.authManager){
|
||||
data.request.authManager.clazzName = TYPE_TO_C.get(data.request.authManager.type);
|
||||
}
|
||||
this.sort(data.request.hashTree);
|
||||
}
|
||||
this.$fileUpload(this.reqUrl, null, bodyFiles, data, () => {
|
||||
|
|
|
@ -75,21 +75,6 @@
|
|||
<ms-input-tag :currentScenario="httpForm" ref="tag"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="8">
|
||||
<el-form-item :label="$t('api_test.automation.follow_people')" prop="followPeople">
|
||||
<el-select v-model="httpForm.follows"
|
||||
clearable multiple
|
||||
:placeholder="$t('api_test.automation.follow_people')" filterable size="small"
|
||||
class="ms-http-textarea">
|
||||
<el-option
|
||||
v-for="item in maintainerOptions"
|
||||
:key="item.id"
|
||||
:label="item.id + ' (' + item.name + ')'"
|
||||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>-->
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="$t('commons.description')" prop="description">
|
||||
<el-input class="ms-http-textarea"
|
||||
|
|
Loading…
Reference in New Issue