fix(接口测试): 修复未写场景名时,执行单步骤时,一直显示执行的缺陷

--bug=1025964 --user=王孝刚 【接口测试】新建场景-添加csv场景变量-单步骤调试失败引用csv文件失败
https://www.tapd.cn/55049933/s/1376003
This commit is contained in:
wxg0103 2023-05-25 19:21:18 +08:00 committed by fit2-zhao
parent 3aac1506a7
commit e3dce0c1be
1 changed files with 5 additions and 0 deletions

View File

@ -1803,6 +1803,11 @@ export default {
this.initMessageSocket(); this.initMessageSocket();
} else { } else {
this.debugLoading = false; this.debugLoading = false;
let hasRequest = runScenario && runScenario.hasRequest;
if (hasRequest && runScenario.hashTree) {
runScenario.hashTree[0].requestResult = [];
runScenario.hashTree[0].testing = false;
}
} }
}); });
}, },