fix(接口定义): 修复添加前后置sql数据源切换的问题 (#17715)

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-09-06 18:30:09 +08:00 committed by GitHub
parent e2cea0f634
commit c7a7218c2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -340,6 +340,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();
@ -353,6 +354,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();