fix(测试跟踪): 测试计划执行接口用例一直转圈

--bug=1018638 --user=陈建星 【测试跟踪】测试计划-接口用例页面执行接口case卡住 https://www.tapd.cn/55049933/s/1271289
This commit is contained in:
chenjianxing 2022-10-21 18:08:08 +08:00 committed by jianxing
parent 4428c9c85e
commit 72b846cbc0
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ export default {
if (data.status === 'RUNNING') {
this.loading = true;
this.socketSync();
} else if (data.status === 'SUCCESS') {
this.$EventBus.$emit("API_TEST_END", this.reportId);
} else {
this.$EventBus.$emit("API_TEST_ERROR", this.reportId);
}
}
});