qinhouyu 2 anni fa
parent
commit
bc48cb0d45

+ 1 - 1
src/views/bigdata/chart-gridDistribution.vue

@@ -28,7 +28,7 @@
         let that = this
         getWgfb().then(resp => {
           // alert("网格分布")
-          that.data = Array.isArray(resp.data) && resp.data.length > 20 ? resp.data.splice(0,22) : resp.data
+          that.data = Array.isArray(resp.data) && resp.data.length > 20 ? resp.data.splice(0,20) : resp.data
           this.myEcharts()
         })
       },

+ 1 - 1
src/views/bigdata/chart-gridStaff.vue

@@ -27,7 +27,7 @@
         setTimeout(() => {
           let that = this
           getWgry().then(resp => {
-            that.getWgry = Array.isArray(resp.data) && resp.data.length > 20 ? resp.data.splice(0,22) : resp.data
+            that.getWgry = Array.isArray(resp.data) && resp.data.length > 20 ? resp.data.splice(0,20) : resp.data
             // alert("网格人员")
             that.myEcharts()
           })