From 5fe59390867a55efa77d53f8c2e20cc65149c7d0 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 20 Jan 2022 15:14:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=80=A7=E8=83=BD=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=88=A0=E9=99=A4=E6=94=AF=E6=8C=81=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/performance/test/PerformanceTestList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/performance/test/PerformanceTestList.vue b/frontend/src/business/components/performance/test/PerformanceTestList.vue index bb72226989..f4409930fe 100644 --- a/frontend/src/business/components/performance/test/PerformanceTestList.vue +++ b/frontend/src/business/components/performance/test/PerformanceTestList.vue @@ -263,7 +263,8 @@ export default { if (deleteCurrentVersion) { this.$get('performance/delete/' + test.id + '/' + test.refId, () => { this.$success(this.$t('commons.delete_success')); - this.getVersionHistory(); + this.initTableData(); + this.$refs.apiDeleteConfirm.close(); }); } else { let data = { @@ -272,6 +273,7 @@ export default { this.result = this.$post(this.deletePath, data, () => { this.$success(this.$t('commons.delete_success')); this.initTableData(); + this.$refs.apiDeleteConfirm.close(); }); } },