qinhouyu 2 سال پیش
والد
کامیت
bc48cb0d45
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/bigdata/chart-gridDistribution.vue
  2. 1 1
      src/views/bigdata/chart-gridStaff.vue

+ 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()
           })