fix(接口测试): 修复用例执行后不显示执行结果的缺陷

--bug=1025855 --user=王孝刚 【接口测试】新建接口用例后执行,不显示执行结果
https://www.tapd.cn/55049933/s/1367283
This commit is contained in:
wxg0103 2023-04-26 17:48:32 +08:00 committed by fit2-zhao
parent c2eef4e294
commit 54e2571023
1 changed files with 3 additions and 0 deletions

View File

@ -443,6 +443,9 @@ export default {
this.apiCaseList[0].responseData = data;
this.apiCaseList[0].passRate = passRate;
this.$refs.apiCaseItem.runLoading = false;
if (this.$refs.apiCaseItem && this.$refs.apiCaseItem[0]) {
this.$refs.apiCaseItem[0].reload();
}
store.currentApiCase = { refresh: true, id: data.id, status: status, passRate: passRate };
});
}