Browse Source

show: this.source.length > 8 ? true : false,

wangzhe 2 years ago
parent
commit
b23418147e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/datacenter.vue

+ 1 - 1
src/views/datacenter.vue

@@ -245,7 +245,7 @@ export default {
         },
         dataZoom: [
           {
-            show: true,
+            show: this.source.length > 8 ? true : false,
             type: "slider",
             yAxisIndex: 0,
             left: 0,