fix(接口测试): 修复场景步骤条件控制器下请求,推荐JSONPATH不生效问题 (#15508)

--bug=1014577 --user=王孝刚 【接口测试】github#15406场景用例中间夹着条件控制器时无法使用推荐jsonpan断言
https://www.tapd.cn/55049933/s/1194581

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-05 18:12:10 +08:00 committed by GitHub
parent 4ab5f9fc0a
commit 138f2ccfe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -276,6 +276,9 @@ export default {
if (requireComponent != null && JSON.stringify(esbDefinition) != '{}' && JSON.stringify(esbDefinitionResponse) != '{}') {
this.showXpackCompnent = true;
}
if (this.request.requestResult && this.request.requestResult.length > 0) {
this.response = this.request.requestResult[0];
}
},
watch: {
message() {