Authored by 于良

bug fix http://jira.yoho.cn:8888/browse/YH-2559 review by 盖剑秋

... ... @@ -364,6 +364,7 @@ function parseRecommendation(json) {
let timeagoStr = timeago(createTime);
let isLike = item.hasPraise === 'Y' ? true : false;
let title = item.postsTitle ? decodeURI(item.postsTitle) : '';
title = title === '' ? desc : title;
let id = item.id ? item.id : 0;
let post = {
... ...
... ... @@ -299,6 +299,7 @@ function parseNewPost(json) {
let timeagoStr = timeago(createTime);
let isLike = item.hasPraise === 'Y' ? true : false;
let title = item.postsTitle ? decodeURI(item.postsTitle) : '';
title = title === '' ? desc : title;
let id = item.id ? item.id : 0;
let post = {
... ...
... ... @@ -657,6 +657,7 @@ function parseJson(json) {
let timeagoStr = timeago(createTime);
let isLike = item.hasPraise === 'Y' ? true : false;
let title = item.postsTitle ? decodeURI(item.postsTitle) : '';
title = title === '' ? desc : title;
let id = item.id ? item.id : 0;
let post = {
... ...
... ... @@ -180,6 +180,7 @@ function parseUserThatNotMePosts(json) {
let timeagoStr = timeago(createTime);
let isLike = item.hasPraise === 'Y' ? true : false;
let title = item.postsTitle ? decodeURI(item.postsTitle) : '';
title = title === '' ? desc : title;
let id = item.id ? item.id : 0;
let post = {
... ...