mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 11:38:57 +08:00
fix(接口定义): 修复自动化场景切换数据源前后置sql没有变化的缺陷
--bug=1016307 --user=王孝刚 【接口测试】github#17311,接口自动化中,非默认项目切换不同环境,导致数据源发生变化。 https://www.tapd.cn/55049933/s/1235215
This commit is contained in:
parent
c117bf651e
commit
f39cc66497
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user