fix(接口测试): 优化场景执行过程中报告步骤实时显示内容,针对误报内容及时展示出来
--bug=1010028 --user=宋天阳 【接口测试】执行场景结果会先显示失败,最后才会变成正确的结果 https://www.tapd.cn/55049933/s/1100412
This commit is contained in:
parent
e8389648d0
commit
976e4cae5f
|
@ -122,12 +122,16 @@ export default {
|
|||
},
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
request:{
|
||||
watch: {
|
||||
request: {
|
||||
deep: true,
|
||||
handler(n) {
|
||||
if(this.request.errorCode){
|
||||
if (this.request.errorCode) {
|
||||
this.errorCode = this.request.errorCode;
|
||||
} else if (this.request.attachInfoMap && this.request.attachInfoMap.errorReportResult) {
|
||||
if (this.request.attachInfoMap.errorReportResult !== "") {
|
||||
this.errorCode = this.request.attachInfoMap.errorReportResult;
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue