diff --git a/api-test/frontend/src/business/definition/components/case/EditApiCase.vue b/api-test/frontend/src/business/definition/components/case/EditApiCase.vue index 005444aadb..a7f2b307f4 100644 --- a/api-test/frontend/src/business/definition/components/case/EditApiCase.vue +++ b/api-test/frontend/src/business/definition/components/case/EditApiCase.vue @@ -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 }; }); }