Fix share bug. reviewed by redding.
Showing
1 changed file
with
1 additions
and
3 deletions
@@ -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,8 +175,6 @@ export function onRightPressed(sid) { | @@ -175,8 +175,6 @@ 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 | } |
-
Please register or login to post a comment