diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 1d891dfd2d..35c6521e18 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -678,9 +678,6 @@ export default { } }, deep: true, - }, - $route(to, from) { - this.$router.go(0); } }, beforeDestroy() { @@ -1248,7 +1245,7 @@ export default { } else { this.isLastedVersion = true; this.routerToEdit(response.data.id); - this.initEdit(); + setTimeout(() => this.initEdit(), 500); } } this.createVersionId = null;