소스 검색

隐藏图标下载按钮

duy 2 년 전
부모
커밋
2fd8034a26
3개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제
  1. 1 1
      src/components/echarts/Rose.vue
  2. 5 5
      src/components/echarts/StackedDouble.vue
  3. 5 5
      src/components/echarts/StackedLine.vue

+ 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,