linan 5 年之前
父節點
當前提交
6bd6a320d2
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/index/charts/chart1.vue
  2. 1 1
      src/views/index/charts/chart2.vue

+ 1 - 1
src/views/index/charts/chart1.vue

@@ -40,7 +40,7 @@ export default {
                         dataZoom: {
                             yAxisIndex: "none"
                         },
-                        dataView: { readOnly: false },
+                        dataView: { readOnly: true },
                         magicType: { type: ["line", "bar"] },
                         restore: {},
                         saveAsImage: {}

+ 1 - 1
src/views/index/charts/chart2.vue

@@ -43,7 +43,7 @@ export default {
                         dataZoom: {
                             yAxisIndex: "none"
                         },
-                        dataView: { readOnly: false },
+                        dataView: { readOnly: true },
                         magicType: { type: ["line", "bar"] },
                         restore: {},
                         saveAsImage: {}