Преглед изворни кода

Merge branch 'cygx/cygx_14.0' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

zhangchuanxing пре 3 месеци
родитељ
комит
cf4dc1ecd1
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      controllers/report.go

+ 3 - 0
controllers/report.go

@@ -289,6 +289,9 @@ func (this *ReportController) IndustryList() {
 		}
 		go models.AddCygxReportIndustrialSeaarchHistory(item)
 	}
+	if len(list) == 0 {
+		list = make([]*models.IndustrialManagement, 0)
+	}
 	resp.List = list
 	resp.Paging = page
 	//如果不感兴趣有值,而且展开按钮没有展开,就放出展开按钮