From bbd8eb2d40deb1d07135fb8190d03c91771f0ac9 Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Tue, 15 Jun 2021 15:24:36 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E4=B8=8D=E5=90=8Crout?=
=?UTF-8?q?e=E6=98=A0=E5=B0=84=E5=90=8C=E7=BB=84=E4=BB=B6=E6=97=B6?=
=?UTF-8?q?=E4=B8=8D=E5=88=B7=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
---
src/components/layout/Container.vue | 7 ++++++-
src/views/charts/Panel.vue | 7 +++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/components/layout/Container.vue b/src/components/layout/Container.vue
index 24d24512..1a93e684 100644
--- a/src/components/layout/Container.vue
+++ b/src/components/layout/Container.vue
@@ -1,6 +1,6 @@
-
+
@@ -10,6 +10,11 @@ export default {
data () {
return {
}
+ },
+ computed: {
+ routerKey () {
+ return this.$route.name !== undefined ? this.$route.name + +new Date() : this.$route + +new Date()
+ }
}
}
diff --git a/src/views/charts/Panel.vue b/src/views/charts/Panel.vue
index 4d66d73a..f3dd5a58 100644
--- a/src/views/charts/Panel.vue
+++ b/src/views/charts/Panel.vue
@@ -1,5 +1,5 @@
- {{panel.name}}
+ {{panel}}