diff --git a/public/react/src/App.js b/public/react/src/App.js index f0c0fac5d..1205113df 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -324,7 +324,7 @@ class App extends Component { title: 'EduCoder', desc: '创新源于实践', link: currentUrl, - imgUrl: currentUrl + '/images/educoder/index/subject/subject15.jpg' + imgUrl: (currentUrl.endsWith('/') ? currentUrl : currentUrl + '/') + 'images/educoder/index/subject/subject15.jpg' }; wx.onMenuShareAppMessage(shareData);//分享给好友