fix(接口自动化): 单步调试时,清理掉之前结果内容
This commit is contained in:
parent
a6978fcb92
commit
1a9d499eae
|
@ -401,6 +401,8 @@ export default {
|
||||||
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [this.request],
|
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [this.request],
|
||||||
};
|
};
|
||||||
this.runData.push(debugData);
|
this.runData.push(debugData);
|
||||||
|
this.request.requestResult = undefined;
|
||||||
|
this.request.result = undefined;
|
||||||
/*触发执行操作*/
|
/*触发执行操作*/
|
||||||
this.reportId = getUUID();
|
this.reportId = getUUID();
|
||||||
},
|
},
|
||||||
|
@ -408,7 +410,7 @@ export default {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
},
|
},
|
||||||
runRefresh(data) {
|
runRefresh(data) {
|
||||||
this.request.requestResult =[data] ;
|
this.request.requestResult = [data];
|
||||||
this.request.result = undefined;
|
this.request.result = undefined;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.$emit('refReload', this.request, this.node);
|
this.$emit('refReload', this.request, this.node);
|
||||||
|
@ -459,6 +461,7 @@ export default {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-step-name-api {
|
.ms-step-name-api {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
|
@ -469,6 +472,7 @@ export default {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-tag {
|
.ms-tag {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue