fix(接口定义): 修复自动化场景切换数据源前后置sql没有变化的缺陷

--bug=1016307 --user=王孝刚
【接口测试】github#17311,接口自动化中,非默认项目切换不同环境,导致数据源发生变化。
https://www.tapd.cn/55049933/s/1235215
This commit is contained in:
wxg0103 2022-08-29 16:47:36 +08:00 committed by f2c-ci-robot[bot]
parent c117bf651e
commit f39cc66497

View File

@ -412,6 +412,7 @@ export default {
if (this.request.disabled) {
jdbcPreProcessor.label = 'SCENARIO-REF-STEP';
}
jdbcPreProcessor.projectId = this.request.projectId;
jdbcPreProcessor.active = false;
this.request.hashTree.push(jdbcPreProcessor);
this.sort();
@ -425,6 +426,7 @@ export default {
if (this.request.disabled) {
jdbcPostProcessor.label = 'SCENARIO-REF-STEP';
}
jdbcPostProcessor.projectId = this.request.projectId;
jdbcPostProcessor.active = false;
this.request.hashTree.push(jdbcPostProcessor);
this.sort();