fix (接口测试): 针对历史数据兼容处理

--bug=1008169 --user=赵勇 【接口定义】-修改认证配置为No Auth保存失败 https://www.tapd.cn/55049933/s/1071322
This commit is contained in:
fit2-zhao 2021-11-22 09:43:08 +08:00 committed by fit2-zhao
parent 412d0e9bb7
commit 6ccf4091b2
1 changed files with 4 additions and 0 deletions

View File

@ -251,6 +251,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, () => {