fix(接口测试): 修复调试过程中点停止按钮步骤状态未更新问题

--bug=1020102 --user=赵勇 【接口测试】场景中导入100+以上api-调试后中途停止,请求步骤中仍显示测试中(99%复现) https://www.tapd.cn/55049933/s/1302627
This commit is contained in:
fit2-zhao 2022-11-23 14:07:19 +08:00 committed by fit2-zhao
parent 30f4e183dd
commit e042e033ad
1 changed files with 2 additions and 0 deletions

View File

@ -1082,6 +1082,7 @@ export default {
this.reqSuccess = 0; this.reqSuccess = 0;
this.executeType = ''; this.executeType = '';
this.pluginDelStep = false; this.pluginDelStep = false;
this.message = 'STOPPED';
}, },
clearResult(arr) { clearResult(arr) {
if (arr) { if (arr) {
@ -1102,6 +1103,7 @@ export default {
item.data.code = undefined; item.data.code = undefined;
item.testing = undefined; item.testing = undefined;
item.data.testing = undefined; item.data.testing = undefined;
item.data.debug = false;
if (item.childNodes && item.childNodes.length > 0) { if (item.childNodes && item.childNodes.length > 0) {
this.clearNodeStatus(item.childNodes); this.clearNodeStatus(item.childNodes);
} }