Authored by 郭成尧

code-stronger

... ... @@ -178,7 +178,7 @@ let consults = (params) => {
data.consults = result[1].list;
}
data.showReadMore = result[1].list.length > 2;
data.showReadMore = _.get(result[1], 'list.length', 0) > 2;
return data;
});
... ...