From 13c1ecf25ca6bb098b322280e3467511683011ca 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 | 10 +--- .../dashboard/admin/components/LineChart.vue | 36 ++---------- .../dashboard/admin/components/PieChart.vue | 10 +--- .../admin/components/RaddarChart.vue | 10 +--- .../admin/components/mixins/resize.js | 56 +++++++++++++++++++ 5 files changed, 68 insertions(+), 54 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 47e7a110..be0af34f 100644 --- a/src/views/dashboard/admin/components/BarChart.vue +++ b/src/views/dashboard/admin/components/BarChart.vue @@ -5,11 +5,12 @@