Authored by 郭成尧

guang-infoList-error

@@ -284,9 +284,11 @@ const getTagEditor = (param) => { @@ -284,9 +284,11 @@ const getTagEditor = (param) => {
284 284
285 let infoList = result[0].data.list.artList; 285 let infoList = result[0].data.list.artList;
286 286
287 - infoList.forEach(val => {  
288 - inf.push(guangProcess.formatArticle(val, true, false, true));  
289 - }); 287 + if (infoList && infoList.length) {
  288 + infoList.forEach(val => {
  289 + inf.push(guangProcess.formatArticle(val, true, false, true));
  290 + });
  291 + }
290 292
291 resu.guang.infos = inf; 293 resu.guang.infos = inf;
292 294