From a8027f1316897bc3f86c9c85debbf2054afdfee6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 11 Jul 2023 10:12:38 +0800 Subject: [PATCH] fix --- src/views/dashboard/AnalyticsWeeklyOverview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dashboard/AnalyticsWeeklyOverview.vue b/src/views/dashboard/AnalyticsWeeklyOverview.vue index 272e0bf4..feb07609 100644 --- a/src/views/dashboard/AnalyticsWeeklyOverview.vue +++ b/src/views/dashboard/AnalyticsWeeklyOverview.vue @@ -88,7 +88,7 @@ const options = controlledComputed( ); // 图表数据 -const series = ref([{ data: [37, 57, 45, 75, 57, 40, 65] }]); +const series = ref([{ data: [0, 0, 0, 0, 0, 0, 0] }]); // 总数 const totalCount = computed(() => series.value[0].data.reduce((a, b) => a + b, 0));