Browse Source

隐藏图标下载按钮

duy 2 years ago
parent
commit
2fd8034a26

+ 1 - 1
src/components/echarts/Rose.vue

@@ -86,7 +86,7 @@ const setOptions = (legend = [], series = []) => {
          orient: 'vertical',
   },
   toolbox: {
-    show: true,
+    show: false,
     feature: {
       mark: { show: true },
       dataView: { show: true, readOnly: false },

+ 5 - 5
src/components/echarts/StackedDouble.vue

@@ -93,11 +93,11 @@ const setOptions = () => {
     bottom: '3%',
     containLabel: true
   },
-  toolbox: {
-    feature: {
-      saveAsImage: {}
-    }
-  },
+  // toolbox: {
+  //   feature: {
+  //     saveAsImage: {}
+  //   }
+  // },
   xAxis: {
     type: 'category',
     // boundaryGap: false,

+ 5 - 5
src/components/echarts/StackedLine.vue

@@ -93,11 +93,11 @@ const setOptions = () => {
     bottom: '3%',
     containLabel: true
   },
-  toolbox: {
-    feature: {
-      saveAsImage: {}
-    }
-  },
+  // toolbox: {
+  //   feature: {
+  //     saveAsImage: {}
+  //   }
+  // },
   xAxis: {
     type: 'category',
     boundaryGap: false,