Authored by 盖剑秋

Fix share bug. reviewed by redding.

@@ -167,7 +167,7 @@ export function onRightPressed(sid) { @@ -167,7 +167,7 @@ export function onRightPressed(sid) {
167 } 167 }
168 } 168 }
169 let title = item.postsTitle||contentStr||'潮流社区'; 169 let title = item.postsTitle||contentStr||'潮流社区';
170 - let content = item.authorInfo.nickName||''+'在潮流社区发布的潮流主题帖很赞,快来看看!' 170 + let content = (item.authorInfo.nickName||'')+'在潮流社区发布的潮流主题帖很赞,快来看看!'
171 let shareInfo = { 171 let shareInfo = {
172 title, 172 title,
173 content, 173 content,
@@ -175,9 +175,7 @@ export function onRightPressed(sid) { @@ -175,9 +175,7 @@ export function onRightPressed(sid) {
175 linkUrl: item.shareUrl, 175 linkUrl: item.shareUrl,
176 } 176 }
177 dispatch(doShare(sid,shareInfo)); 177 dispatch(doShare(sid,shareInfo));
178 - } else {  
179 - Alert.alert('提示','获取分享信息失败');  
180 - } 178 + }
181 } 179 }
182 } 180 }
183 } 181 }