From 220ee2680dbf6d474017feea18ca63f788cd43e7 Mon Sep 17 00:00:00 2001 From: Zeeland <287017217@qq.com> Date: Mon, 31 Oct 2022 19:54:53 +0800 Subject: [PATCH] :fix: first enter the https://rymcu.com/open-data can not show the chart --- pages/open-data.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/open-data.vue b/pages/open-data.vue index 7ba5d18..c304a89 100644 --- a/pages/open-data.vue +++ b/pages/open-data.vue @@ -155,7 +155,9 @@ export default { }, mounted() { this.$store.commit("setActiveMenu", "open-data"); - this.initLastThirtyDaysCharts(this.lastThirtyDays) + setTimeout(() => { + this.initLastThirtyDaysCharts(this.lastThirtyDays) + }, 500); } }