fix(接口测试): 单接口调试点击请求报错

This commit is contained in:
chenjianxing 2020-11-27 11:16:03 +08:00
parent d2cf26b16c
commit 320ca1c542
2 changed files with 6 additions and 1 deletions

View File

@ -117,6 +117,12 @@
}
},
watch: {
'request.responseResult'() {
this.reload();
}
},
computed: {
assertion() {
return this.request.passAssertions + " / " + this.request.totalAssertions;

View File

@ -101,7 +101,6 @@ export default {
this.request.debugScenario = new Scenario();
this.request.debugRequestResult = {responseResult: {}, subRequestResults: []};
}
this.$refs.msDebugResult.reload();
} else {
setTimeout(this.getReport, 2000)
}