Commit 34ca9047 by wangshuo

ccode保存到cookie

parent 43d32701
......@@ -43,6 +43,10 @@ class App extends Component {
window.qimoClientId = cookie.get('qimoClientIdedu')
}
}
let url = window.location.href;
if(url.indexOf('ccode')) {
cookie.set('ccode', getParam('ccode'), { expires: 1, domain: '.julyedu.com', path: '/' })
}
}
componentDidMount() {
......
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