From 4ad23fc69894f8fd31fcce6d6c448202e2c1f542 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 25 Dec 2020 11:52:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9C=BA=E6=9F=9C=20dc=E6=B2=A1=E6=9C=89=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/bottomBox/tabs/cabinetTab.vue | 2 ++ nezha-fronted/src/components/page/config/dc.vue | 9 +++++++++ nezha-fronted/src/store/index.js | 11 +++++++++++ 3 files changed, 22 insertions(+) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue index bd6ce4164..e84e7f459 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue @@ -195,6 +195,7 @@ this.rightBox.show = false; if (refresh) { this.getTableData(); + this.$store.commit('setDcDataRefresh'); } }, newCabinet() { @@ -248,6 +249,7 @@ if(response.code == 200){ this.$message({duration: 2000, type: 'success', message: this.$t("tip.saveSuccess")}); this.getTableData(); + this.$store.commit('setDcDataRefresh'); }else{ this.$message.error(response.msg); } diff --git a/nezha-fronted/src/components/page/config/dc.vue b/nezha-fronted/src/components/page/config/dc.vue index 7aa8a6b2e..66f8ba998 100644 --- a/nezha-fronted/src/components/page/config/dc.vue +++ b/nezha-fronted/src/components/page/config/dc.vue @@ -140,6 +140,7 @@ +