fix(接口测试): 修复用例执行后不显示执行结果的缺陷
--bug=1025855 --user=王孝刚 【接口测试】新建接口用例后执行,不显示执行结果 https://www.tapd.cn/55049933/s/1367283
This commit is contained in:
parent
5ac3d2fec9
commit
056e8b1a62
|
@ -443,6 +443,9 @@ export default {
|
||||||
this.apiCaseList[0].responseData = data;
|
this.apiCaseList[0].responseData = data;
|
||||||
this.apiCaseList[0].passRate = passRate;
|
this.apiCaseList[0].passRate = passRate;
|
||||||
this.$refs.apiCaseItem.runLoading = false;
|
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 };
|
store.currentApiCase = { refresh: true, id: data.id, status: status, passRate: passRate };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue