Authored by 郭成尧

bug-read property 'length' of undefined

@@ -279,7 +279,7 @@ class DetailModel extends global.yoho.BaseModel { @@ -279,7 +279,7 @@ class DetailModel extends global.yoho.BaseModel {
279 let textPosition = 1, 279 let textPosition = 1,
280 descriptionText; 280 descriptionText;
281 281
282 - result.getArticleContent = getArticleContent = datas[1].data; 282 + result.getArticleContent = getArticleContent = datas[1].data || [];
283 283
284 for (let i = 0; i < getArticleContent.length; i++) { 284 for (let i = 0; i < getArticleContent.length; i++) {
285 285