diff --git a/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java b/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java index 0c9ba97148..d87b4fb1e0 100644 --- a/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java +++ b/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java @@ -165,14 +165,14 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener { - this.$emit('refreshTable'); + this.$emit('refreshAll'); this.initTableData(); this.$success(this.$t('commons.delete_success')); }); @@ -1126,13 +1126,13 @@ export default { this.$get('/test/case/deletePublic/' + testCase.versionId + '/' + testCase.refId, () => { this.$success(this.$t('commons.delete_success')); this.$refs.apiDeleteConfirm.close(); - this.$emit("refreshTable"); + this.$emit("refreshAll"); }); } else { this.$get('/test/case/delete/' + testCase.versionId + '/' + testCase.refId, () => { this.$success(this.$t('commons.delete_success')); this.$refs.apiDeleteConfirm.close(); - this.$emit("refreshTable"); + this.$emit("refreshAll"); }); } } @@ -1144,7 +1144,7 @@ export default { this.$success(this.$t('commons.delete_success')); // this.initTable(); this.$refs.apiDeleteConfirm.close(); - this.$emit("refreshTable"); + this.$emit("refreshAll"); }); } else {