Commit c7207ccb by wangshuo

ccode保存问题完善

parent 39c70a87
......@@ -45,9 +45,11 @@ class App extends Component {
componentWillMount() {
let url = window.location.href;
if(url.indexOf('ccode') > -1) {
if(decodeURIComponent(getParam('ccode')) != '') {
cookie.set('ccode', getParam('ccode'), { expires: 1, domain: '.julyedu.com', path: '/' })
}
}
}
componentDidMount() {
this.getStage()
......
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