fix(接口测试): 修复场景自定义JDBC步骤数据源显示问题
--bug=1013311 --user=赵勇 【接口测试】场景中-添加SQL自定义请求-请求选择运行环境-保存后勾选引用环境后页面回显错误 https://www.tapd.cn/55049933/s/1163632
This commit is contained in:
parent
65aca6ede1
commit
c7a67cf73e
|
@ -1860,8 +1860,14 @@ export default {
|
|||
setStep(stepArray){
|
||||
for (let i in stepArray) {
|
||||
let typeArray = ["JDBCPostProcessor", "JDBCSampler", "JDBCPreProcessor"]
|
||||
if(typeArray.indexOf(stepArray[i].type) !==-1) {
|
||||
this.setStepEnv(stepArray[i]);
|
||||
if(typeArray.indexOf(stepArray[i].type) !== -1) {
|
||||
if(stepArray[i].customizeReq ){
|
||||
if(stepArray[i].isRefEnvironment){
|
||||
this.setStepEnv(stepArray[i]);
|
||||
}
|
||||
}else {
|
||||
this.setStepEnv(stepArray[i]);
|
||||
}
|
||||
}
|
||||
if (stepArray[i].hashTree && stepArray[i].hashTree.length > 0) {
|
||||
this.setStep(stepArray[i].hashTree);
|
||||
|
|
Loading…
Reference in New Issue