liyongli před 3 roky
rodič
revize
29aefc27f2

+ 8 - 3
src/views/AdvertisingEye/components/tranche.vue

@@ -240,9 +240,9 @@ export default {
           stack: "total",
           label: {
             show: true,
-            formatter:(item) =>{
-                return item.value + '%'
-            }
+            formatter: item => {
+              return item.value + "%";
+            },
           },
           emphasis: {
             focus: "series",
@@ -298,6 +298,11 @@ export default {
         color: ["#1b9ade", "#fd5555"],
         xAxis: {
           type: "value",
+          axisLabel: {
+            formatter: item => {
+              return item + "%"
+            },
+          },
         },
         yAxis: {
           type: "category",

+ 5 - 0
src/views/AdvertisingEye/components/trancheB.vue

@@ -198,6 +198,11 @@ export default {
         },
         xAxis: {
           type: "value",
+          axisLabel: {
+            formatter: item => {
+              return item + "%"
+            },
+          },
         },
         yAxis: {
           type: "category",