diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 95da2120..d241cf73 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -515,7 +515,7 @@ const displayTransitionTotalPvCount = computed(() => // 访问趋势日期范围(单位:天) const visitTrendDateRange = ref(7); // 访问趋势图表配置 -const visitTrendChartOptions = ref(); +const visitTrendChartOptions = ref({}); /** * 获取访客统计数据 @@ -558,7 +558,7 @@ const updateVisitTrendChartOptions = (data: VisitTrendDetail) => { trigger: "axis", }, legend: { - data: ["浏览量(PV)", "访客数(UV)"], + data: ["浏览量(PV)", "访客量(UV)"], bottom: 0, }, grid: {