فهرست منبع

修复 ID1006615 bug

zhangdan 4 سال پیش
والد
کامیت
4066f2c68d
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/views/cleanManage/statisticalReport.vue

+ 3 - 1
src/views/cleanManage/statisticalReport.vue

@@ -187,7 +187,8 @@ export default {
     qyTotalPieData () {
       const list = this.totalGroupRubbiData ? this.totalGroupRubbiData.cleanReportData : []
       const temp = []
-      if (list.length) {
+
+      if (list && list.length) {
         this.rubbishType.map(item => {
           const has = list.find(obj => obj.rubbishType == item.code)
           temp.push({
@@ -331,6 +332,7 @@ export default {
       stationList().then(res => {
         if (res.status == 200) {
           this.stationList = res.data || []
+		  console.log(this.stationList, '------------网点')
         } else {
           this.stationList = []
         }