瀏覽代碼

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

zhangchuanxing 4 月之前
父節點
當前提交
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
 	//如果不感兴趣有值,而且展开按钮没有展开,就放出展开按钮