From 33171231818e20d0f810df4ae56f3620727af4df Mon Sep 17 00:00:00 2001 From: wjf <765010662@qq.com> Date: Thu, 19 Jun 2025 09:56:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:charts=E6=8C=89=E9=9C=80=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Main.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/Main.vue b/src/views/Main.vue index dc15e71..9b9c1e9 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -6,7 +6,13 @@
  • -
  • +
  • +
  • + +
  • +
  • + +
  • 最初首发者:   {{ currentItem.earler }}
  • 积极评论者:{{ currentItem.comenter @@ -210,9 +216,10 @@ import { useRouter } from 'vue-router'; import IndexView from './App.vue'; import ScrollContainer from '@/components/ScrollContainer.vue'; import * as echarts from 'echarts'; -import axios from 'axios'; import { useActionStore } from '@/store'; import Chart32_Inspection from '@/components/Chart32_Inspection(1).vue'; +import Chart33_WavingBlades from '@/components/Chart33_WavingBlades(1).vue'; +import Chart34_RecoveredGoods from '@/components/Chart34_RecoveredGoods(1).vue'; let myChart = null; @@ -809,6 +816,7 @@ const currentItem = ref(currentDataSet.value[0]); // 切换选中项的方法 const selectItem = (item) => { currentItem.value = item; + console.log(currentItem.value); showTooltip.value = true; // 点击时显示 tooltip };