fix(接口测试): 修复TCP接口历史遗留环境兼容问题
--bug=1013451 --user=赵勇 【接口测试】TCP请求,在TEST页面执行,环境信息没带上【+github#13897】 https://www.tapd.cn/55049933/s/1163999
This commit is contained in:
parent
933e92c23a
commit
5ddeb98efa
|
@ -339,6 +339,9 @@ export default {
|
||||||
if (requireComponent != null && JSON.stringify(esbDefinition) !== '{}') {
|
if (requireComponent != null && JSON.stringify(esbDefinition) !== '{}') {
|
||||||
this.showXpackCompnent = true;
|
this.showXpackCompnent = true;
|
||||||
}
|
}
|
||||||
|
if(this.api.environmentId) {
|
||||||
|
this.api.request.useEnvironment = this.api.environmentId;
|
||||||
|
}
|
||||||
this.checkVersionEnable();
|
this.checkVersionEnable();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue