From ff02eb0667a39c0a438bcf5a4837531e8186de76 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Mon, 21 Sep 2020 17:57:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dpanel=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=90=8E=E5=88=B7=E6=96=B0=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/exportXLSX.vue | 1 + nezha-fronted/src/components/page/dashboard/panel.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/exportXLSX.vue b/nezha-fronted/src/components/common/exportXLSX.vue index 145181f7a..319847015 100644 --- a/nezha-fronted/src/components/common/exportXLSX.vue +++ b/nezha-fronted/src/components/common/exportXLSX.vue @@ -141,6 +141,7 @@ this.$delete(url + '?seq='+this.importResult.seq).then(response=>{ if(response.code == 200 ){ this.$message({duration: 2000, type: 'success', message: this.$t("tip.saveSuccess")}); + this.$emit('afterImport') }else{ this.$message.error(response.msg); } diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index d67f0dbb7..6b086e04e 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -55,7 +55,7 @@ export-url="/panel/export" import-url="/panel/import" :params="filter" - @afterImport="Refresh" + @afterImport="dateChange" >