fix: 场景单独调试禁用请求无响应

This commit is contained in:
chenjianxing 2021-05-19 11:53:03 +08:00 committed by jianxing
parent 9bb0696122
commit e678444159
1 changed files with 4 additions and 1 deletions

View File

@ -330,10 +330,13 @@
this.runData.projectId = this.request.projectId;
this.request.useEnvironment = this.currentEnvironmentId;
this.request.customizeReq = this.isCustomizeReq;
let requestParam = JSON.parse(JSON.stringify(this.request));
//
requestParam.enable = true;
let debugData = {
id: this.currentScenario.id, name: this.currentScenario.name, type: "scenario",
variables: this.currentScenario.variables, referenced: 'Created', headers: this.currentScenario.headers,
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [this.request],
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [requestParam],
};
this.runData.push(debugData);
/*触发执行操作*/