浏览代码

提交代码

Lijy 1 周之前
父节点
当前提交
e9acc26638

+ 7 - 1
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/biReport/cusTotalAnalysis/index.vue

@@ -22,7 +22,13 @@ const form = reactive({ type: 1, date: undefined, member: '' });
 const chartOptions: EChartsOption = reactive({
   grid: { bottom: 30 },
   legend: {},
-  tooltip: {},
+  tooltip: {
+    formatter: (params: any) => {
+      console.log(params);
+      const { seriesName, value, marker } = params;
+      return `${marker} ${seriesName} ${value[seriesName]}`;
+    }
+  },
   toolbox: {
     show: true,
     feature: {