Authored by lea guo

社区分享过滤emoji

@@ -79,6 +79,8 @@ const getDetailShareData = (article, app_version = '6.9.11') => { @@ -79,6 +79,8 @@ const getDetailShareData = (article, app_version = '6.9.11') => {
79 hideType = ['8', '9']; 79 hideType = ['8', '9'];
80 } 80 }
81 81
  82 + desc = desc.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g, '');
  83 +
82 return { 84 return {
83 title: `@${article.authorName} 在有货社区上发了一篇内容,快点开看看!`, 85 title: `@${article.authorName} 在有货社区上发了一篇内容,快点开看看!`,
84 imgUrl: handleProtocol( 86 imgUrl: handleProtocol(
1 { 1 {
2 "name": "yoho-community-web", 2 "name": "yoho-community-web",
3 - "version": "6.9.11-beta44", 3 + "version": "6.9.12-RELEASE",
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": {