Authored by yyq

fix shareHandler

@@ -18,11 +18,11 @@ const getDetailShareData = (article) => { @@ -18,11 +18,11 @@ const getDetailShareData = (article) => {
18 let desc = ''; 18 let desc = '';
19 19
20 if (article.sort === 2) { 20 if (article.sort === 2) {
21 - shareImage = article.coverImage;  
22 - desc = article.articleTitle; 21 + shareImage = article.coverImage || '';
  22 + desc = article.articleTitle || '';
23 } else if (article.sort === 4) { 23 } else if (article.sort === 4) {
24 - shareImage = article.coverUrl;  
25 - desc = article.content; 24 + shareImage = article.coverUrl || '';
  25 + desc = article.content || '';
26 } else { 26 } else {
27 let blockList = get(article, 'blockList', []); 27 let blockList = get(article, 'blockList', []);
28 28
1 { 1 {
2 "name": "yoho-community-web", 2 "name": "yoho-community-web",
3 - "version": "6.9.8-3", 3 + "version": "6.9.8-4",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {