From caf7614ab2786ff7d7a65428e261c6dc3d0954cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Thu, 23 May 2019 11:27:10 +0800 Subject: [PATCH] fix[Chart]: fixed chart bug in keep-alive (#2119) --- .../dashboard/admin/components/BarChart.vue | 14 ++--- .../dashboard/admin/components/LineChart.vue | 39 +++---------- .../dashboard/admin/components/PieChart.vue | 14 ++--- .../admin/components/RaddarChart.vue | 14 ++--- .../admin/components/mixins/resize.js | 56 +++++++++++++++++++ 5 files changed, 80 insertions(+), 57 deletions(-) create mode 100644 src/views/dashboard/admin/components/mixins/resize.js diff --git a/src/views/dashboard/admin/components/BarChart.vue b/src/views/dashboard/admin/components/BarChart.vue index fa265ef6..be0af34f 100644 --- a/src/views/dashboard/admin/components/BarChart.vue +++ b/src/views/dashboard/admin/components/BarChart.vue @@ -5,11 +5,12 @@