zhangchuanxing hai 6 meses
pai
achega
5ec4268463
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
 	//如果不感兴趣有值,而且展开按钮没有展开,就放出展开按钮