fix(接口测试): 修复接口用例环境保存失效的缺陷
--bug=1010689 --user=王孝刚 【接口测试】github#11051,接口用例环境保存失效 https://www.tapd.cn/55049933/s/1111109
This commit is contained in:
parent
832593e7eb
commit
2a9f22183b
|
@ -413,6 +413,7 @@ export default {
|
|||
let bodyFiles = this.getBodyUploadFiles(tmp);
|
||||
tmp.projectId = getCurrentProjectID();
|
||||
tmp.active = true;
|
||||
tmp.request.useEnvironment = this.environment;
|
||||
tmp.apiDefinitionId = tmp.apiDefinitionId || this.api.id;
|
||||
let url = "/api/testcase/create";
|
||||
if (tmp.id) {
|
||||
|
|
Loading…
Reference in New Issue