Commit 748f6004 by xuzhenghua

微信分享

parent 7660fdf0
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
...@@ -46,18 +46,6 @@ class Detail extends Component { ...@@ -46,18 +46,6 @@ class Detail extends Component {
} }
componentDidMount() { componentDidMount() {
<<<<<<< HEAD
=======
if(browser.isWeixin){
wxShare({
title: `课程详情页`,
desc: `课程详情页`,
link: location.href,
imgUrl: `${location.origin}/favicon.ico`
})
}
>>>>>>> 41f6c77df0ea5567680fccdfa8f0f3095768af5d
this.fetchCourseInfo(); this.fetchCourseInfo();
const { location: { state = {} } } = this.props; const { location: { state = {} } } = this.props;
if(state.oid) { if(state.oid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment