diff --git a/src/views/dashboard/console/components/NewVisitAmount.vue b/src/views/dashboard/console/components/NewVisitAmount.vue index 471518f..039b28d 100644 --- a/src/views/dashboard/console/components/NewVisitAmount.vue +++ b/src/views/dashboard/console/components/NewVisitAmount.vue @@ -19,7 +19,12 @@ const { setOptions } = useECharts(chartRef as Ref); const option = { - tooltip: {}, + tooltip: { + trigger: 'axis', + axisPointer:{ + type:'shadow' + } + }, grid: { top: '10%', left: '1%', @@ -105,18 +110,18 @@ itemStyle: { color: '#FC619D', }, - tooltip: { - show: false, - }, + // tooltip: { + // show: false, + // }, data: [105, 180, 208, 284, 343, 388, 435, 465, 487, 531, 589, 669], }, { name: '月销量', type: 'bar', barWidth: 10, - tooltip: { - show: false, - }, + // tooltip: { + // show: false, + // }, label: { show: true, position: 'top', diff --git a/src/views/dashboard/console/components/VisiTab.vue b/src/views/dashboard/console/components/VisiTab.vue index 5e49e17..1f4ce69 100644 --- a/src/views/dashboard/console/components/VisiTab.vue +++ b/src/views/dashboard/console/components/VisiTab.vue @@ -2,8 +2,8 @@ - - + +