Explorar el Código

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

wangzhe hace 2 años
padre
commit
b23418147e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,