diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue index dfd7237729..851c91fe38 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue @@ -212,7 +212,9 @@ export default { apiCaseClose() { this.apiCaseList = []; this.visible = false; - this.$router.replace({path: '/api/definition'}); + if (this.$route.fullPath !== this.$route.path) { + this.$router.replace({path: '/api/definition'}); + } this.$emit('refresh'); }, refreshModule() {