Authored by 郭成尧

avatar-src

@@ -139,7 +139,11 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, top) => { @@ -139,7 +139,11 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, top) => {
139 139
140 result.author = articleData.author; 140 result.author = articleData.author;
141 if (result.author.avatar) { 141 if (result.author.avatar) {
142 - result.author.avatar = result.author.avatar.replace('http://', '//'); 142 + let avatarUrl = result.author.avatar.replace('http://', '//');
  143 +
  144 + avatarUrl = avatarUrl.split('?')[0];
  145 +
  146 + result.author.avatar = avatarUrl;
143 } 147 }
144 } 148 }
145 149