Authored by shuaiguo

还原线上版本

... ... @@ -40,7 +40,7 @@ function handleProtocol(url) {
return url.join('//');
}
const filterEmoji = (text) => {
const filterEmoji = text => {
const regexp = emojiRegex();
return text.replace(regexp, '');
... ... @@ -87,9 +87,11 @@ const getDetailShareData = (article, app_version = '6.9.11') => {
hideType = ['8', '9'];
}
let authorName = article.authorName || '';
desc = filterEmoji(desc);
const authorName = filterEmoji(article.authorName || '');
// 过滤掉emoji表情
// desc = filterEmoji(desc);
// authorName = filterEmoji(article.authorName || '');
return {
title: `@${authorName} 在有货社区上发了一篇内容,快点开看看!`,
... ... @@ -107,7 +109,7 @@ const getDetailShareData = (article, app_version = '6.9.11') => {
userName: authorName,
userIcon: article.authorHeadIco,
articleId: article.articleId,
authGroupId: article.authGroupId
authGroupId: article.authGroupId,
};
};
... ...
{
"name": "yoho-community-web",
"version": "6.9.14-beta-1",
"version": "6.9.14-beta-2",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...